summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorPatrick Burroughs (Celti)2016-01-31 12:56:35 -0700
committerPatrick Burroughs (Celti)2016-01-31 12:56:35 -0700
commit3ed23961f6cebc05c042d3102ec2b7245c4e2abb (patch)
tree47370582f7ac889541f7f72fb9d9fa4c2a3c5364 /PKGBUILD
downloadaur-3ed23961f6cebc05c042d3102ec2b7245c4e2abb.tar.gz
Initial upload: librsvg-git 2.40.13.r4.g7948f3b-1
librsvg-git: Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..3c7985fea03
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,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
+}