updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / gnome-specimen / PKGBUILD
bloba61d34530533311cbb876697f3cfa07b8df74f86
1 # Maintainer: SpepS <dreamspepser at yahoo dot it>
2 # Contributor: Anton Bazhenov <anton.bazhenov at gmail>
3 # Contributor: neodreams <yanbrodeur@videotron.ca>
5 pkgname=gnome-specimen
6 pkgver=0.4
7 pkgrel=5
8 pkgdesc="A simple tool to view and compare fonts installed on your system."
9 arch=('any')
10 url="http://uwstopia.nl/"
11 license=('GPL')
12 depends=('gnome-python' 'hicolor-icon-theme')
13 makedepends=('intltool')
14 install="$pkgname.install"
15 source=("http://ftp.gnome.org/pub/GNOME/sources/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz")
16 md5sums=('c1af774ee4ab5bd1289699b4094368b3')
17 sha256sums=('353ef10e647e5d06354dd827a4152a8cb45bf56b2f1c72e449a41e5175880424')
19 build() {
20   cd "$srcdir/$pkgname-$pkgver"
22   export PYTHON="/usr/bin/python2"
24   # GtkSpinButton fix
25   sed -i "s_1\(0<\)_\1_" data/$pkgname.glade
27   ./configure \
28         --prefix=/usr \
29         --sysconfdir=/etc \
30         --with-gconf-schema-file-dir=/usr/share/gconf/schemas
32   make
35 package() {
36   cd "$srcdir/$pkgname-$pkgver"
38   make DESTDIR="$pkgdir/" install