summaryrefslogtreecommitdiff
path: root/community/mxml/PKGBUILD
blob: cc53987db8a51258d0ce5473ce07f2fdf4110827 (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
# $Id: PKGBUILD 104562 2014-01-22 19:43:48Z spupykin $
# 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.8
pkgrel=1
pkgdesc="A small XML parsing library"
arch=('i686' 'x86_64')
url="http://www.minixml.org/"
license=('LGPL')
source=("http://www.msweet.org/files/project3/$pkgname-$pkgver.tar.gz")
md5sums=('d85ee6d30de053581242c4a86e79a5d2')

build() {
  cd "$srcdir/$pkgname-$pkgver"
#  [ "$CARCH" = x86_64 ] && export CFLAGS="$CFLAGS -fPIC"
  ./configure --prefix=/usr --enable-shared
  make
}

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