# Contributor: Stefan Wagner # Maintainer: Max Rees pkgname=stow pkgver=2.3.1 pkgrel=0 pkgdesc="Manage installation of multiple softwares in the same directory tree" url="https://www.gnu.org/software/stow/" arch="noarch" license="GPL-3.0+" depends="perl" checkdepends="perl-io-stringy" makedepends="perl-test-output" subpackages="$pkgname-doc" source="https://ftp.gnu.org/pub/gnu/$pkgname/$pkgname-$pkgver.tar.gz" build() { ./configure \ --prefix=/usr \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --with-pmdir=/usr/lib/perl5/vendor_perl } check() { make check } package() { make DESTDIR="$pkgdir" install rm "$pkgdir"/usr/share/doc/stow/manual.pdf rm "$pkgdir"/usr/share/doc/stow/version.texi } sha512sums="e9a7de1a6f10eaf7cdbe6737e0a8be1498e2eac46b6c57e65b83759b061efd1c0db45f7cba123e35428307e3aebe5baef9ea8bd4b5eb6ec5e1b159117a760441 stow-2.3.1.tar.gz"