summaryrefslogtreecommitdiff
path: root/community/mxml/PKGBUILD
blob: 5356d74baaa35d59d4f497cf18641dcb72d466fb (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
# $Id: PKGBUILD 57065 2011-10-20 07:22:50Z andrea $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Roman Kyrylych <roman@archlinux.org>
# Contributor: Johannes Sjolund <j.sjolund@gmail.com>

pkgname=mxml
pkgver=2.6
pkgrel=2
pkgdesc="A small XML parsing library"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.minixml.org/"
license=('LGPL')
source=("http://ftp.easysw.com/pub/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz")
md5sums=('68977789ae64985dddbd1a1a1652642e')

build() {
  cd "$srcdir/$pkgname-$pkgver"
  ./configure --prefix=/usr
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  make DSTROOT="$pkgdir" install
  chmod -x "$pkgdir/usr/lib/libmxml.a"
}