summaryrefslogtreecommitdiff
path: root/community/bchunk/PKGBUILD
blob: 2a8ac0198e106f048ddde883aa96b032796dfe53 (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
# Contributor: Jaroslaw Swierczynski <swiergot@aur.archlinux.org>
# Contributor: eric <eric@archlinux.org>
# Contributor: Markus Meissner <markus@meissna.de>

pkgname=bchunk
pkgver=1.2.0
pkgrel=3
pkgdesc="A Tool to Convert *.raw *.bin files to an ISO file"
url="http://hes.iki.fi/bchunk/"
arch=('i686' 'x86_64')
license=('GPL')
depends=('glibc')
source=(http://hes.iki.fi/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('6a613da3f34f9a303f202d2e9731d231')

build() {
  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