1 # Contributor: solsTiCe d'Hiver <solstice.dhiver@gmail.com>
6 pkgdesc="a library for serializing C data"
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')
14 cd $srcdir/$pkgname-$pkgver
15 ./configure --prefix=/usr
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