summaryrefslogtreecommitdiff
path: root/extra/librsvg/PKGBUILD
blob: d0b9a8f08c01e7455f14e658af6b024c3877d106 (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
28
29
# $Id: PKGBUILD 184408 2013-05-06 19:38:35Z foutrelis $
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=librsvg
pkgver=2.37.0
pkgrel=2
pkgdesc="A SVG viewing library"
arch=(i686 x86_64 'mips64el')
license=('LGPL')
depends=('gdk-pixbuf2' 'pango' 'libcroco')
makedepends=('intltool' 'gtk2' 'gtk3' 'gobject-introspection')
optdepends=('gtk3: for rsvg-view-3'
            'gtk2: gtk2 SVG engine module')
options=('!libtool' '!emptydirs')
url="https://live.gnome.org/LibRsvg"
install=librsvg.install
source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz)
sha256sums=('06c57dbcb29369d147b4e6ff4257c42ae5120c504c30fb567a27034ee30fd835')

build() {
  cd $pkgname-$pkgver
  ./configure --prefix=/usr --disable-static
  make
}

package() {
  cd $pkgname-$pkgver
  make DESTDIR="$pkgdir" install
}