aboutsummaryrefslogtreecommitdiffstats
path: root/testing/mxml/APKBUILD
blob: 507720f8de4f26f3d67fa9bb48db521c9de6707c (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=mxml
pkgver=2.11
pkgrel=0
pkgdesc="Small XML library that you can use to read and write XML files"
url="http://www.msweet.org/projects.php?Z3"
arch="all"
license="LGPL-2.0"
subpackages="$pkgname-dev $pkgname-doc"
source="https://github.com/michaelrsweet/$pkgname/releases/download/v2.11/$pkgname-$pkgver.tar.gz"

builddir="$srcdir"

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

package() {
	cd "$builddir"
	make BUILDROOT="$pkgdir" install
}

sha512sums="046421f91eea16f0ca99fbf611891c367ea9c3c54d04080d08acf108d7749ad9bbf2f4b3ef234a5130f00f77618196e2c5a245f32230daf645c1f775e961d378  mxml-2.11.tar.gz"