diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-09-17 16:41:17 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-09-17 16:41:17 +0000 |
commit | b47c24ae242e490bbbb1c8dbde94bf19cd238596 (patch) | |
tree | 453bb7a5217fe743b32dfffff9fd0638e3943e1a /user/stow/APKBUILD | |
parent | 9f626e3a88e8bfac4169c02b4795041e263a7ef8 (diff) | |
parent | 4aa0671e2a7c5a317ed9884d9c76a1abce9c21a3 (diff) | |
download | packages-b47c24ae242e490bbbb1c8dbde94bf19cd238596.tar.gz packages-b47c24ae242e490bbbb1c8dbde94bf19cd238596.tar.bz2 packages-b47c24ae242e490bbbb1c8dbde94bf19cd238596.tar.xz packages-b47c24ae242e490bbbb1c8dbde94bf19cd238596.zip |
Merge GNU Stow from @sroracle
Diffstat (limited to 'user/stow/APKBUILD')
-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" |