diff options
Diffstat (limited to 'community/libpar2/PKGBUILD')
-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 05317e3f0..12a032876 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' 'mips64el') 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 } |