updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / gdeskcal / PKGBUILD
blob166ef3d499cf6051276d1d36160c76f9656fc8ad
1 # Contributor: Jan de Groot <jgc@archlinux.org>
3 pkgname=gdeskcal
4 _pkgname=gDeskCal
5 pkgver=1.01
6 pkgrel=4
7 pkgdesc="gDeskCal is a cute little eye-candy calendar for your desktop."
8 arch=(any)
9 license=('GPL')
10 url="http://customize.org/gDeskCal"
11 depends=('pygtk')
12 makedepends=('perlxml')
13 source=(ftp://ftp.icm.edu.pl/vol/rzm1/linux-fedora-secondary/development/source/SRPMS/$pkgname-$pkgver-2.fc10.src.rpm gdeskcal-utf8.diff)
14 md5sums=('9a472aef4592e173a5e10ac1a2f95d7a'
15          '9a023efe0efbe3a2f3877da555e6986b')
17 build() {
18   cd "$srcdir"
19   tar xzf $_pkgname-$pkgver.tar.gz
20   cd "${srcdir}/$_pkgname-$pkgver"
21   patch -p1 < ../gdeskcal-utf8.diff
22   sed -i 's#python#python2#' gdeskcal
23   ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
24   make
27 package() {
28   cd "${srcdir}/$_pkgname-$pkgver"
29   make DESTDIR=${pkgdir} install