diff options
Diffstat (limited to 'community/bchunk/PKGBUILD')
-rw-r--r-- | community/bchunk/PKGBUILD | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/community/bchunk/PKGBUILD b/community/bchunk/PKGBUILD index 61493b795..1cbafecce 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' 'mips64el') @@ -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 |