summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2e3ec13926f9415de09d2a31d1db5b3312f41745 (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
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
# Contributor: Jan de Groot <jgc@archlinux.org>

pkgname=libsvg
pkgver=0.1.4
pkgrel=5
pkgdesc="A library for rendering SVG documents"
arch=('i686' 'x86_64')
license=('LGPL')
url="http://cairographics.org/"
depends=('libxml2')
source=(http://cairographics.org/snapshots/$pkgname-$pkgver.tar.gz \
  libpng14.patch)
md5sums=('ce0715e3013f78506795fba16e8455d3'
         '76eee76d69e79dddbe6de8c75ed0ac1c')
options=('!libtool')

build() {
  cd $srcdir/$pkgname-$pkgver
  ./configure --prefix=/usr
  patch -p1 < $srcdir/libpng14.patch
  make
}
package() {
  cd $srcdir/$pkgname-$pkgver
  make DESTDIR=$pkgdir install
}