summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Rees <maxcrees@me.com>2018-09-16 14:18:50 -0400
committerMax Rees <maxcrees@me.com>2018-09-16 14:18:50 -0400
commit4aa0671e2a7c5a317ed9884d9c76a1abce9c21a3 (patch)
tree2e9ecb079141dd787f19dfaeece5ac8668345655
parente9ed0c89854650e472d9270a91c8e59f535e3c80 (diff)
downloadpackages-4aa0671e2a7c5a317ed9884d9c76a1abce9c21a3.tar.gz
packages-4aa0671e2a7c5a317ed9884d9c76a1abce9c21a3.tar.bz2
packages-4aa0671e2a7c5a317ed9884d9c76a1abce9c21a3.tar.xz
packages-4aa0671e2a7c5a317ed9884d9c76a1abce9c21a3.zip
user/stow: new package
-rw-r--r--user/stow/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/user/stow/APKBUILD b/user/stow/APKBUILD
new file mode 100644
index 000000000..dcb81dc09
--- /dev/null
+++ b/user/stow/APKBUILD
@@ -0,0 +1,37 @@
+# Contributor: Stefan Wagner <stw@bit-strickerei.de>
+# Maintainer: Max Rees <maxcrees@me.com>
+pkgname=stow
+pkgver=2.2.2
+pkgrel=0
+pkgdesc="Manage installation of multiple softwares in the same directory tree"
+url="https://www.gnu.org/software/stow/"
+arch="noarch"
+license="GPL-2.0-only"
+depends="perl"
+makedepends="perl-test-output"
+checkdepends="perl-io-stringy"
+subpackages="$pkgname-doc"
+source="https://ftp.gnu.org/pub/gnu/$pkgname/$pkgname-$pkgver.tar.gz"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --prefix=/usr \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --with-pmdir=/usr/lib/perl5/vendor_perl
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+ rm "$pkgdir"/usr/share/doc/stow/manual.pdf
+ rm "$pkgdir"/usr/share/doc/stow/version.texi
+}
+
+sha512sums="8a3e5da6b5cb4c1ee1b512bae5a9859f83659d5de05f7a9af1dd09df2a32f6b8c6d43b79736db91232c43621d542041d4ef92eb088925796adad0676f200a9b5 stow-2.2.2.tar.gz"