summaryrefslogtreecommitdiff
path: root/libre/librsvg-stable/PKGBUILD
blob: 029af38dca0fa59a0a6a8b20ab900a5b5b5650f5 (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
30
31
# $Id: PKGBUILD 258835 2016-02-03 13:30:55Z jgc $
# Maintainer: Jan de Groot <jgc@archlinux.org>

_pkgname=librsvg
pkgname=librsvg-stable
pkgver=2.40.10
pkgrel=1
epoch=2
pkgdesc="A SVG viewing library (stable version)"
arch=(i686 x86_64)
license=('LGPL')
depends=('gdk-pixbuf2' 'pango' 'libcroco')
makedepends=('intltool' 'gobject-introspection' 'vala' 'python2')
conflicts=($_pkgname)
provides=($_pkgname)
options=('!emptydirs')
url="https://live.gnome.org/LibRsvg"
install=librsvg.install
source=(https://download.gnome.org/sources/$_pkgname/${pkgver:0:4}/$_pkgname-$pkgver.tar.xz)
sha256sums=('965c807438ce90b204e930ff80c92eba1606a2f6fd5ccfd09335c99896dd3479')

build() {
  cd $_pkgname-$pkgver
  ./configure --prefix=/usr --disable-static --enable-vala
  make
}
 
package() {
  cd $_pkgname-$pkgver
  make DESTDIR="$pkgdir" install
}