diff options
author | sin <sin@2f30.org> | 2015-03-13 23:18:27 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-03-16 14:20:17 +0000 |
commit | a3cf4459da8e8759b84ca4c62a054f44fb1eb52c (patch) | |
tree | a7ed4aab1e5efb43e099bd6e45ba776cddd05fae /testing/noice | |
parent | acad9d4d65db6c22eff6a8bfc2328bb20928b58c (diff) | |
download | aports-a3cf4459da8e8759b84ca4c62a054f44fb1eb52c.tar.bz2 aports-a3cf4459da8e8759b84ca4c62a054f44fb1eb52c.tar.xz |
testing/noice: new aport
a simple file browser
http://git.2f30.org/noice
Diffstat (limited to 'testing/noice')
-rw-r--r-- | testing/noice/APKBUILD | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/testing/noice/APKBUILD b/testing/noice/APKBUILD new file mode 100644 index 0000000000..6883f2aa6c --- /dev/null +++ b/testing/noice/APKBUILD @@ -0,0 +1,39 @@ +# Contributor: sin <sin@2f30.org> +# Maintainer: sin <sin@2f30.org> +pkgname=noice +pkgver=0.2 +pkgrel=0 +pkgdesc="a simple file browser" +url="http://git.2f30.org/noice" +arch="all" +license="BSD-2" +depends="" +depends_dev="" +makedepends="$depends_dev ncurses-dev" +install="" +subpackages="$pkgname-doc" +source="http://dl.2f30.org/releases/noice-$pkgver.tar.gz" + +_builddir="$srcdir/$pkgname-$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" + make || return 1 +} + +package() { + cd "$_builddir" + make PREFIX=/usr MANPREFIX=/usr/share/man DESTDIR="$pkgdir" install || return 1 +} +md5sums="c1eeaf040beb7963999936e4b81d3755 noice-0.2.tar.gz" +sha256sums="2ae75eb4c22d5c87fc90ed8fe3314158e1b51771e2d1515c339fefd2f14b7990 noice-0.2.tar.gz" +sha512sums="f7635839b9f6299c2a92bbd1fe7d50974a9861fc078e8bc80e85e9fdad5d5463ac365c2ea955a4bc20169b51580ca12c26bfc62e6bd7c30b87e83742ae780448 noice-0.2.tar.gz" |