updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / libtpl / PKGBUILD
blobd0f0eef7ed173c8949cf873ed9f01da7f73485a8
1 # Contributor: solsTiCe d'Hiver <solstice.dhiver@gmail.com>
3 pkgname=libtpl
4 pkgver=1.5
5 pkgrel=1
6 pkgdesc="a library for serializing C data"
7 arch=(i686 x86_64)
8 url="http://tpl.sourceforge.net"
9 license=(custom:'BSD3 modified')
10 source=(http://downloads.sourceforge.net/tpl/libtpl-$pkgver.tar.bz2)
11 md5sums=('9408276cb0ffe9cb6bec99f923b24ebd')
13 build() {
14         cd $srcdir/$pkgname-$pkgver
15         ./configure --prefix=/usr
16         make || return 1
17         make DESTDIR=$pkgdir install
18         mkdir -p $pkgdir/usr/{bin,lib/perl5/current,share/licenses/libtpl}
19         install -m 755 lang/perl/tpl{fmt,xml} $pkgdir/usr/bin
20         install -m 644 lang/perl/Tpl.pm $pkgdir/usr/lib/perl5/current
21         install -m 644 LICENSE $pkgdir/usr/share/licenses/libtpl