summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3c7985fea03e1a0fdd227ee1f3f8422757e1c8f6 (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
32
33
34
35
# $Id$
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=librsvg-git
pkgver=2.40.13.r4.g7948f3b
pkgrel=1
pkgdesc="A SVG viewing library"
arch=(i686 x86_64)
license=('LGPL')
depends=('gdk-pixbuf2' 'pango' 'libcroco')
makedepends=('intltool' 'gobject-introspection' 'vala' 'python2' 'git' 'gnome-common')
options=('!emptydirs')
provides=('librsvg')
conflicts=('librsvg')
url="https://live.gnome.org/LibRsvg"
install=librsvg.install
source=($pkgname::git://git.gnome.org/librsvg)
sha256sums=('SKIP')

pkgver() {
  cd "$pkgname"
  git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
  cd $pkgname
  ./autogen.sh
  ./configure --prefix=/usr --disable-static --enable-vala
  make
}

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