aboutsummaryrefslogtreecommitdiffstats
path: root/testing/mxml/APKBUILD
blob: 49d7a533bc53425b5989ca933b0fffd803226ee0 (plain) (blame)
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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=mxml
pkgver=3.0
pkgrel=0
pkgdesc="Small XML library that you can use to read and write XML files"
url="https://www.msweet.org/mxml/"
arch="all"
license="Apache-2.0"
subpackages="$pkgname-dev $pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/michaelrsweet/mxml/archive/v${pkgver}.tar.gz"

build() {
	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--localstatedir=/var
	make
}

check() {
	make testmxml
}

package() {
	make BUILDROOT="$pkgdir" install
	rm -f "$pkgdir"/usr/lib/*.a
}

sha512sums="3c540348022226b122ce014f183368cda6631600a11d8f4d43c99c62fba2f3ca4b23dff4122082f63915b59a46a5475d1d12d0081f9315c65f5c044ac3c751d6  mxml-3.0.tar.gz"