diff options
-rw-r--r-- | user/stow/APKBUILD | 37 |
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" |