desktop/mxml/PKGBUILD

23 lines
672 B
Bash
Raw Normal View History

2012-01-18 10:29:37 +08:00
pkgname=mxml
2017-04-02 00:12:11 +08:00
pkgver=2.10
2012-01-18 10:29:37 +08:00
pkgrel=1
2014-04-20 09:35:52 +08:00
pkgdesc="Mini-XML is a small XML parsing library: read/write XML and XML-like data files in your application without requiring large non-standard libraries."
arch=('x86_64')
2012-01-18 10:29:37 +08:00
url="http://www.minixml.org/"
2014-04-20 09:35:52 +08:00
license=('LGPL')
2017-04-02 00:12:11 +08:00
source=("$pkgname-$pkgver.tar.gz::https://github.com/michaelrsweet/mxml/archive/release-$pkgver.tar.gz")
sha256sums=('bbc8cc3ed5afb5482f531949f5de86b6d24ea5d85bce7b35c49917c300159da9')
2012-01-18 10:29:37 +08:00
build() {
2017-04-02 00:12:11 +08:00
cd "$srcdir/$pkgname-release-$pkgver"
2014-04-20 09:35:52 +08:00
./configure --prefix=/usr --enable-shared
2012-01-18 10:29:37 +08:00
make
}
package() {
2017-04-02 00:12:11 +08:00
cd "$srcdir/$pkgname-release-$pkgver"
2014-12-16 23:25:18 +08:00
make DSTROOT="$pkgdir" install
2014-04-20 09:35:52 +08:00
chmod -x "$pkgdir/usr/lib/libmxml.a"
2012-01-18 10:29:37 +08:00
}