summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3dcf3336a847982ff203f8a26fbaceef7ba88bce (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
# Maintainer: SanskritFritz (gmail)
# Contributor: Jan de Groot <jgc@archlinux.org>
# Contributor: Arjan Timmerman <arjan@soulfly.nl>
# Contributor: Wael Nasreddine <gandalf@siemens-mobiles.org>

pkgname=python2-rsvg
pkgver=2.32.0
pkgrel=16
arch=('i686' 'x86_64')
license=('GPL' 'LGPL')
depends=('pygtk' 'librsvg')
pkgdesc="Python bindings for librsvg"
conflicts=('python-rsvg<=2.32.0-10')
replaces=('python-rsvg<=2.32.0-10')
#makedepends=('intltool' 'pkg-config' 'gnome-python' 'libgtop' 'totem-plparser' 'gnome-desktop2' 'librsvg')
url="http://www.gnome.org"
source=("https://download.gnome.org/sources/gnome-python-desktop/2.32/gnome-python-desktop-${pkgver}.tar.bz2")
sha256sums=('09dbd580bf3b0ef60f91b090eafe6d08ddcc50a609e2b425a7f8eca46d4e0ee9')

build() {
	cd "gnome-python-desktop-$pkgver"
	PYTHON=/usr/bin/python2 ./configure --prefix=/usr --disable-metacity
	make
}

package() {
	cd "gnome-python-desktop-$pkgver"
	make -C rsvg install DESTDIR="${pkgdir}"
	install -m755 -d "${pkgdir}/usr/share/pygtk/2.0/defs"
	install -m644 rsvg/rsvg.defs "${pkgdir}/usr/share/pygtk/2.0/defs/"
}