# 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"