diff options
author | root <root@rshg054.dnsready.net> | 2012-03-14 00:01:30 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-03-14 00:01:30 +0000 |
commit | 01a0c4bc740842efa3bf1a7e1d6c8be5656e4e2a (patch) | |
tree | c9cf79fb6311cbb2a890419e0a382aa211fb3010 /community/libpar2 | |
parent | ca06c41d7d8e5d38284de9048372ab45dcd8b2fb (diff) |
Wed Mar 14 00:01:29 UTC 2012
Diffstat (limited to 'community/libpar2')
-rw-r--r-- | community/libpar2/PKGBUILD | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/community/libpar2/PKGBUILD b/community/libpar2/PKGBUILD index 48d21954a..4871ee91b 100644 --- a/community/libpar2/PKGBUILD +++ b/community/libpar2/PKGBUILD @@ -4,7 +4,7 @@ pkgname=libpar2 pkgver=0.2 -pkgrel=4 +pkgrel=5 pkgdesc="Parity checking library," arch=('i686' 'x86_64') url="http://parchive.sourceforge.net/" @@ -21,13 +21,19 @@ md5sums=('94c6df4e38efe08056ecde2a04e0be91' build() { cd ${srcdir}/${pkgname}-${pkgver} - patch -p0 < ${srcdir}/libpar2-0.2-bugfixes.patch || return 1 - autoreconf -fi || return 1 + patch -p0 < ${srcdir}/libpar2-0.2-bugfixes.patch + + autoreconf -fi ./configure --prefix=/usr - make || return 1 - make DESTDIR=${pkgdir} install -#Docs + make +} +package() { + cd ${srcdir}/${pkgname}-${pkgver} + + make DESTDIR=${pkgdir} install + + # Docs install -d ${pkgdir}/usr/share/doc/${pkgname} - install -m644 -t ${pkgdir}/usr/share/doc/${pkgname}/ AUTHORS PORTING README ROADMAP || return 1 + install -m644 -t ${pkgdir}/usr/share/doc/${pkgname}/ AUTHORS PORTING README ROADMAP } |