updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / libs11n / PKGBUILD
blob4ee4ad54e1c600eff729ded83d3861f743c1af92
1 # Contributor: Thomas Weber <weber.t@gmx.at>
2 pkgname=libs11n
3 pkgver=1.2.7
4 pkgrel=1
5 pkgdesc="s11n is a C++ library for easily serializing a wide variety of objects."
6 url="http://s11n.net/"
7 license=('public domain')
8 arch=('i686' 'x86_64')
9 source=(http://downloads.sourceforge.net/s11n/libs11n-$pkgver.tar.bz2)
10 md5sums=('2c214ce3d46a55a0e7a9aacbabdcd068')
12 build() {
13   cd $srcdir/libs11n-$pkgver
15   ./configure --prefix=/usr
17   sed -i -e 's/mkdirhier/mkdir/g' doc/doxygen/Makefile
19   make || return 1
20   make DESTDIR="$pkgdir" install || return 1
22   cd $srcdir
23   mv $pkgdir/usr/share/man $pkgdir/usr/
24   rm -dr $pkgdir/usr/share