summaryrefslogtreecommitdiff
path: root/user/which/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-09-09 02:53:31 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-09-09 02:53:31 +0000
commit4e61295ff26501e80db2de6f770ee14db5f031be (patch)
treeba2581c40ad94e6abe1d6523789c641ed66142e6 /user/which/APKBUILD
parenteb5d8657735fbc915cba5ae1ef29303e07432b60 (diff)
parent4a0822e2bef80e8bf5e22084b4e52c42cfcbe848 (diff)
downloadpackages-4e61295ff26501e80db2de6f770ee14db5f031be.tar.gz
packages-4e61295ff26501e80db2de6f770ee14db5f031be.tar.bz2
packages-4e61295ff26501e80db2de6f770ee14db5f031be.tar.xz
packages-4e61295ff26501e80db2de6f770ee14db5f031be.zip
Merge XFCE 4 from @Aerdan1.0-beta1
Diffstat (limited to 'user/which/APKBUILD')
-rw-r--r--user/which/APKBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/user/which/APKBUILD b/user/which/APKBUILD
new file mode 100644
index 000000000..42e7e3b10
--- /dev/null
+++ b/user/which/APKBUILD
@@ -0,0 +1,33 @@
+# Contributor: Stuart Cardall <developer@it-offshore.co.uk>
+# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+pkgname=which
+pkgver=2.21
+pkgrel=1
+pkgdesc="A utility to show the full path of commands"
+url="http://savannah.gnu.org/projects/which"
+arch="all"
+license="GPL-2.0+ AND LGPL-2.0+ AND GPL-3.0+"
+makedepends=""
+subpackages="$pkgname-doc"
+source="http://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="d2f04a5c5291f2d7d1226982da7cf999d36cfe24d3f7bda145508efcfb359511251d3c68b860c0ddcedd66b15a0587b648a35ab6d1f173707565305c506dfc61 which-2.21.tar.gz"