summaryrefslogblamecommitdiff
path: root/user/felinks/APKBUILD
blob: d70ad3417951a0f99e346701e754305d8e0fa529 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
                                              
                                      









                                                                           

                                                                                          
































                                                                                                                                                                   
# Contributor: Nathan <ndowens@artixlinux.org>
# Maintainer: Zach van Rijn <me@zv.io>
pkgname=felinks
pkgver=0.13.5
pkgrel=0
pkgdesc="A text mode web browser"
url="https://github.com/rkd77/felinks"
arch="all"
license="GPL-2.0+"
depends=""
makedepends="autoconf automake bzip2-dev gettext-tiny openssl-dev zlib-dev"
subpackages="$pkgname-doc $pkgname-lang"
#source="$pkgname-$pkgver.tar.gz::https://github.com/rkd77/felinks/archive/v$pkgver.tar.gz
source="https://distfiles.adelielinux.org/source/upstream/$pkgname-$pkgver.tar.gz
	gettext-tiny.patch
	"

prepare() {
	default_prepare
	update_config_sub
	autoreconf -fi
}

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--enable-nls
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
	rm -rf "$pkgdir"/usr/lib/charset.alias
	rm -rf "$pkgdir"/usr/lib
}

sha512sums="786f6142c03bca4a47a1043ca4f9c36aab431d192eb13bcad14c1da391f5746779a8f65e53eb781dff79f619ceb3ed30ef939eae8d81f64251fad9b803c0ae7b  felinks-0.13.5.tar.gz
327a3b3193d1ddac891e5c46caf11a3dd946ca0a49d214a61303733eddb3e181c73a8b8d78962dc6e589b9401c7e56698154acade4d321515145cc85db834195  gettext-tiny.patch"