summaryrefslogtreecommitdiff
path: root/community/mxml/PKGBUILD
blob: 6b208aa2225c33b45c6a8e12fa5b85eda6c50ab3 (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 100340 2013-11-02 11:47:21Z 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.7
pkgrel=2
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=('76f2ae49bf0f5745d5cb5d9507774dc9')

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"
}