blob: 9212c77b6006c26285af57157525de85566fed66 (
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: Peter Babič <peter@babic.dev>
pkgname=microxml-git
_pkgname=microxml
pkgver=r3.80a1516
pkgrel=1
pkgdesc="Small XML parsing library"
arch=('any')
url="https://github.com/pivasoftware/${_pkgname}"
license=('LGPL2')
makedepends=(
'git'
'gcc'
'make'
)
provides=(
'libmicroxml'
'microxml'
)
conflicts=(
'libmicroxml'
'microxml'
)
source=("git+https://github.com/pivasoftware/${_pkgname}.git")
md5sums=('SKIP')
pkgver() {
cd "$srcdir/${_pkgname}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$srcdir/${_pkgname}"
autoconf -i
./configure --prefix=/usr --enable-threads --enable-shared --enable-static
make
}
package() {
cd "$srcdir/${_pkgname}"
make BUILDROOT="$pkgdir/" install
}
|