desktop/mxml/PKGBUILD

26 lines
703 B
Bash
Raw Normal View History

2014-04-20 09:35:52 +08:00
# Maintainer: UtG <utg[dot]chakra.linux[at]gmail[dot]com>
# Contributor: Daniele Cocca <jmc@chakra-project.org>
2012-01-18 10:29:37 +08:00
pkgname=mxml
2014-12-16 23:25:18 +08:00
pkgver=2.9
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')
source=("http://www.msweet.org/files/project3/$pkgname-$pkgver.tar.gz")
2014-12-16 23:25:18 +08:00
md5sums=('e21cad0f7aacd18f942aa0568a8dee19')
2012-01-18 10:29:37 +08:00
build() {
2014-12-16 23:25:18 +08:00
cd "$srcdir/$pkgname-$pkgver"
2014-04-20 09:35:52 +08:00
./configure --prefix=/usr --enable-shared
2012-01-18 10:29:37 +08:00
make
}
package() {
2014-12-16 23:25:18 +08:00
cd "$srcdir/$pkgname-$pkgver"
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
}