From 4aa0671e2a7c5a317ed9884d9c76a1abce9c21a3 Mon Sep 17 00:00:00 2001 From: Max Rees Date: Sun, 16 Sep 2018 14:18:50 -0400 Subject: user/stow: new package --- user/stow/APKBUILD | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 user/stow/APKBUILD (limited to 'user/stow/APKBUILD') 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 +# Maintainer: Max Rees +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" -- cgit v1.2.3-70-g09d2