blob: c976de1dd9eca2e33f6031df3126542b573abf66 (
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=prwd
pkgver=1.8
pkgrel=0
pkgdesc="A tool can print reduced working directory"
url="http://tamentis.com/projects/prwd/"
arch="all"
license="BSD"
depends=""
depends_dev=""
makedepends="$depends_dev"
install=""
subpackages=""
source="$pkgname-$pkgver.tar.gz::https://github.com/tamentis/prwd/archive/v$pkgver.tar.gz"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
./configure\
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--localstatedir=/var \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
rm -f "$pkgdir"/usr/lib/*.la
}
md5sums="904bba51ee14a355b85a583769cb23a5 prwd-1.8.tar.gz"
sha256sums="af98328ed3d605008f820d865676311d57e985d73f74b020d1d8a81028f66d04 prwd-1.8.tar.gz"
sha512sums="d6792096b4a28a41f9d9797d15639efe067eaa733a65b57a9e54786d10fb82ef59ee3f95742f3b377a8c1b3a2d00d1df7937c6b67ac492debd9b39ade5756c2a prwd-1.8.tar.gz"
|