blob: 6a95bb8ada02cf2294e86dffa38c73ecea1c67a4 (
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
|
# Maintainer: twa022 <twa022 at gmail dot com>
_pkgname=libilbm
pkgname=${_pkgname}-git
pkgver=r75+586f582
pkgrel=1
pkgdesc="Parser library built on top of libiff, for ILBM: IFF Interleaved BitMap format"
arch=('i686' 'x86_64' 'armv7h' 'aarch64')
url="https://github.com/svanderburg/libilbm"
license=('MIT')
depends=('libiff')
makedepends=('help2man' 'git')
provides=("${_pkgname}=${pkgver}")
conflicts=("${_pkgname}")
source=("git+${url}.git")
sha256sums=('SKIP')
pkgver() {
cd "${_pkgname}"
printf 'r%s+%s' `git rev-list --count HEAD` `git rev-parse --short HEAD`
}
prepare() {
cd "${_pkgname}"
./bootstrap
}
build() {
cd "${_pkgname}"
./configure --prefix=/usr
# Need to specify -j1 or with multiple jobs help2man will fail
make -j1
}
package() {
cd "${_pkgname}"
make DESTDIR="${pkgdir}" install
}
|