updated on Wed Jan 25 08:34:36 UTC 2012
[aur-mirror.git] / svg2pdf / PKGBUILD
blob3454a74334820b7fef158ff06ccb1ad3051b4871
1 #Contributor: Nicolas Bigaouette <bigaouette@gmail.com>
2 pkgname=svg2pdf
3 pkgver=0.1.3
4 pkgrel=1
5 pkgdesc="Conversion of SVGs to PDFs via cairo"
6 url="http://cairographics.org/"
7 license=('custom')
8 depends=('libsvg-cairo')
9 arch=('i686' 'x86_64')
10 source=("http://cairographics.org/snapshots/$pkgname-$pkgver.tar.gz")
11 md5sums=('0059ba059ff89931cf37720fcd102d8f')
13 build() {
14         cd $startdir/src/$pkgname-$pkgver
15         ./configure --prefix=/usr || return 1
16         make || return 1
17         make prefix=${startdir}/pkg/usr install || return 1
19         mkdir -p ${startdir}/pkg/usr/share/licenses/$pkgname || return 1
20         install -m 644 COPYING ${startdir}/pkg/usr/share/licenses/$pkgname/COPYING || return 1