diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2015-04-08 11:20:27 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-04-08 11:20:30 +0000 |
commit | d65025cd3b5b837c6217e397f6916e6b8b2093f5 (patch) | |
tree | ebbca1e19d960d08ae69bc9bd3f8bb884789375d /testing/newsbeuter | |
parent | 7669d1ffb57895b2cac066c7b10bfa6c9ebb4676 (diff) | |
download | aports-d65025cd3b5b837c6217e397f6916e6b8b2093f5.tar.bz2 aports-d65025cd3b5b837c6217e397f6916e6b8b2093f5.tar.xz |
testing/newsbeuter: new aport
Configurable text-based feed reader
http://newsbeuter.org/
fixes #1774
Diffstat (limited to 'testing/newsbeuter')
-rw-r--r-- | testing/newsbeuter/APKBUILD | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/testing/newsbeuter/APKBUILD b/testing/newsbeuter/APKBUILD new file mode 100644 index 0000000000..59c1a8da3b --- /dev/null +++ b/testing/newsbeuter/APKBUILD @@ -0,0 +1,45 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=newsbeuter +pkgver=2.9 +pkgrel=0 +pkgdesc="Configurable text-based feed reader" +url="http://newsbeuter.org/" +arch="all" +license="MIT" +depends="" +depends_dev="" +makedepends="$depends_dev json-c-dev curl-dev ncurses-dev sqlite-dev + stfl-dev libxml2-dev gettext-dev" +install="" +subpackages="$pkgname-doc $pkgname-lang" +source="http://newsbeuter.org/downloads/newsbeuter-$pkgver.tar.gz" + +_builddir="$srcdir"/newsbeuter-$pkgver +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + ./config.sh || return 1 + echo "LDFLAGS+=-lintl" >> config.mk + + make prefix=/usr || return 1 + +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" prefix=/usr install || return 1 + rm -f "$pkgdir"/usr/lib/*.la +} + +md5sums="9cf332dc7e591023147bda7add430835 newsbeuter-2.9.tar.gz" +sha256sums="74a8bf019b09c3b270ba95adc29f2bbe48ea1f55cc0634276b21fcce1f043dc8 newsbeuter-2.9.tar.gz" +sha512sums="b173008c8c8d3729f8ccef3ce62645a05c1803fb842d5c0afdf9ffd4ed3726030f9c359c20bc817402a6a0ea12af742d0ae7faf9b92d52c11f420f62b430b0aa newsbeuter-2.9.tar.gz" |