archrelease: copy trunk to extra-x86_64
[arch-packages.git] / jfsutils / trunk / PKGBUILD
blobf4d85e79a5860a30fc651bfc4ac0dbb70e2ee9f1
1 # Maintainer: Tobias Powalowski <tpowa@archlinux.org>
2 # Maintainer: Gaetan Bisson <bisson@archlinux.org>
4 pkgname=jfsutils
5 pkgver=1.1.15
6 pkgrel=7
7 pkgdesc='JFS filesystem utilities'
8 url='http://jfs.sourceforge.net'
9 arch=('x86_64')
10 license=('GPL')
11 depends=('util-linux')
12 source=("http://jfs.sourceforge.net/project/pub/${pkgname}-${pkgver}.tar.gz"
13         'inttypes.patch'
14         'sysmacros.patch')
15 sha256sums=('244a15f64015ce3ea17e49bdf6e1a0fb4f9af92b82fa9e05aa64cb30b5f07a4d'
16             '15ea88350c240b23fe322d4adafbb79c8473b9850495d61efafc7bf68be391b3'
17             'fd1a4e794a3bf2ebdb4b81f582e147655d70aadd59689aacea0ccc32c6381a28')
19 prepare() {
20         cd "${srcdir}/${pkgname}-${pkgver}"
21         patch -p1 -i ../inttypes.patch
22         patch -p1 -i ../sysmacros.patch
25 build() {
26         cd "${srcdir}/${pkgname}-${pkgver}"
27         ./configure --prefix=/usr --sbindir=/usr/bin 
28         make
31 check() {
32         cd "${srcdir}/${pkgname}-${pkgver}"
33         make check
36 package() {
37         cd "${srcdir}/${pkgname}-${pkgver}"
38         make DESTDIR="${pkgdir}" install