From 217a7715291ceb935900b71bde082023bc441290 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 13 Mar 2012 00:01:30 +0000 Subject: Tue Mar 13 00:01:30 UTC 2012 --- community/bchunk/PKGBUILD | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) (limited to 'community/bchunk/PKGBUILD') diff --git a/community/bchunk/PKGBUILD b/community/bchunk/PKGBUILD index c6d286b29..2a8ac0198 100644 --- a/community/bchunk/PKGBUILD +++ b/community/bchunk/PKGBUILD @@ -4,7 +4,7 @@ pkgname=bchunk pkgver=1.2.0 -pkgrel=2 +pkgrel=3 pkgdesc="A Tool to Convert *.raw *.bin files to an ISO file" url="http://hes.iki.fi/bchunk/" arch=('i686' 'x86_64') @@ -14,10 +14,17 @@ source=(http://hes.iki.fi/$pkgname/$pkgname-$pkgver.tar.gz) md5sums=('6a613da3f34f9a303f202d2e9731d231') build() { - cd $srcdir/$pkgname-$pkgver - /bin/mkdir -p $pkgdir/usr/bin $pkgdir/usr/share/man/man1 - /usr/bin/make || return 1 - /usr/bin/make PREFIX=$pkgdir/usr MAN_DIR=$pkgdir/usr/share/man install - /bin/chown root.root $pkgdir/usr/share/man/man1/bchunk.1 + cd ${srcdir}/${pkgname}-${pkgver} + + make +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver} + + mkdir -p ${pkgdir}/usr/bin ${pkgdir}/usr/share/man/man1 + + make PREFIX=${pkgdir}/usr MAN_DIR=${pkgdir}/usr/share/man install + chown root.root ${pkgdir}/usr/share/man/man1/bchunk.1 } # vim: ts=2 sw=2 et ft=sh -- cgit v1.2.3-54-g00ecf