summaryrefslogblamecommitdiff
path: root/user/stow/APKBUILD
blob: 4f203e91fe6c62bc539ae17629e7ae13d01eda71 (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                    
            


                                                                              
                  
              
                              
                              


                                                                     






                                                       


                  



                                                    
                                                                                                                                                                
# Contributor: Stefan Wagner <stw@bit-strickerei.de>
# Maintainer: Max Rees <maxcrees@me.com>
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"