summaryrefslogtreecommitdiff
path: root/community/bchunk/PKGBUILD
blob: f8f56451eb2bf29290f0b367acb107553bb17d2a (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
# Maintainer: Xyne <ca dot archlinux at xyne, backwards>
# 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=4
pkgdesc="A Tool to Convert *.raw *.bin files to an ISO file"
url="http://he.fi/bchunk/"
arch=('i686' 'x86_64')
license=('GPL')
depends=('glibc')
source=(http://he.fi/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('6a613da3f34f9a303f202d2e9731d231')

build() {
  cd "$srcdir/$pkgname-$pkgver"
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  install -dm755 "$pkgdir"/usr/{bin,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