summaryrefslogtreecommitdiff
path: root/community/stow/APKBUILD
blob: 289a1c78e35b703584d386def382cbd2a9468c2c (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.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="GPL2"
depends="perl"
makedepends="perl-test-output"
subpackages="$pkgname-doc"
source="ftp://ftp.gnu.org/pub/gnu/$pkgname/$pkgname-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
	./configure \
		--prefix=/usr \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--with-pmdir=/usr/lib/perl5/vendor_perl
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
	rm "$pkgdir"/usr/share/doc/stow/manual.pdf
	rm "$pkgdir"/usr/share/doc/stow/version.texi
}

md5sums="8712d22b7abe26b1bef0e22818981248  stow-2.2.2.tar.gz"
sha256sums="e2f77649301b215b9adbc2f074523bedebad366812690b9dc94457af5cf273df  stow-2.2.2.tar.gz"
sha512sums="8a3e5da6b5cb4c1ee1b512bae5a9859f83659d5de05f7a9af1dd09df2a32f6b8c6d43b79736db91232c43621d542041d4ef92eb088925796adad0676f200a9b5  stow-2.2.2.tar.gz"