summaryrefslogtreecommitdiff
path: root/user/chrpath/APKBUILD
blob: 9eed07b26fff536e508cf49a644d2ad80a541dcd (plain) (blame)
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
35
36
# Maintainer: 
pkgname=chrpath
pkgver=0.16
pkgrel=2
pkgdesc="Modify rpath of compiled programs"
url="https://github.com/jwilk-mirrors/chrpath"
arch="all"
license="GPL-2.0-only"
subpackages="$pkgname-doc"
source="https://alioth-archive.debian.org/releases/chrpath/chrpath/0.16/chrpath-0.16.tar.gz"

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--localstatedir=/var
	make
}

check() {
	cd "$builddir"
	make check
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" docdir=/usr/share/doc/$pkgname-$pkgver \
		install
}

sha512sums="aa04d490f78bff20a56fe20539cec10218c0772a668909eda8324ca825f51e8ef92001e95d9c316e79a145a043c9c327ec94d1a82e104ab408ca1021832745aa  chrpath-0.16.tar.gz"