aboutsummaryrefslogtreecommitdiffstats
path: root/community/stow/APKBUILD
blob: fc60dd18fef8ce403c6b7ac149a1eb68ecf19632 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Contributor: Stefan Wagner <stw@bit-strickerei.de>
# Maintainer: Stefan Wagner <stw@bit-strickerei.de>
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-or-later"
depends="perl"
makedepends="perl-test-output"
checkdepends="perl-io-stringy"
subpackages="$pkgname-doc"
source="https://ftp.gnu.org/gnu/stow/stow-$pkgver.tar.bz2"

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="3d6cec3d50e2dc0ffa92646c45015ced3fca32cef9dd24418fada3fc2e4472a1f335877debb3a1284812aef281a432925c3a3e7afa112d92f127facd3150079c  stow-2.3.1.tar.bz2"