blob: 81a5d3aa308c5bd372c32107c8ee15f05d789a4c (
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
31
32
33
34
35
36
37
38
39
40
41
|
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
# Maintainer: Gaetan Bisson <bisson@archlinux.org>
pkgname=jfsutils
pkgver=1.1.15
pkgrel=6
pkgdesc='JFS filesystem utilities'
url='http://jfs.sourceforge.net'
arch=(x86_64 ppc64le)
license=('GPL')
depends=('util-linux')
source=("http://jfs.sourceforge.net/project/pub/${pkgname}-${pkgver}.tar.gz"
'inttypes.patch'
'sysmacros.patch')
sha256sums=('244a15f64015ce3ea17e49bdf6e1a0fb4f9af92b82fa9e05aa64cb30b5f07a4d'
'15ea88350c240b23fe322d4adafbb79c8473b9850495d61efafc7bf68be391b3'
'fd1a4e794a3bf2ebdb4b81f582e147655d70aadd59689aacea0ccc32c6381a28')
groups=('base')
prepare() {
cd "${srcdir}/${pkgname}-${pkgver}"
patch -p1 -i ../inttypes.patch
patch -p1 -i ../sysmacros.patch
}
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr --sbindir=/usr/bin
make
}
check() {
cd "${srcdir}/${pkgname}-${pkgver}"
make check
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
}
|