updated on Wed Jan 25 08:34:36 UTC 2012
[aur-mirror.git] / pal / PKGBUILD
blob6008d0e3926cacdde9962bfd928f27ab22001c2d
1 # Contributor: damir <damir@archlinux.org>
3 pkgname=pal
4 pkgver=0.4.3
5 pkgrel=2
6 pkgdesc="A command-line calendar program."
7 arch=('i686' 'x86_64')
8 url="http://palcal.sourceforge.net"
9 license=('GPL')
10 depends=('glib2' 'readline' 'gettext')
11 source=(http://downloads.sourceforge.net/sourceforge/palcal/$pkgname-$pkgver.tgz)
12 md5sums=('7585089bc191f083c96234c1c8d05726')
14 build() {
15   cd ${srcdir}/${pkgname}-${pkgver}/src
16   sed -i "s:-O2 -Wall:${CFLAGS}:g" Makefile.defs || return 1
17   make || return 1
18   make DESTDIR=${pkgdir} install-no-rm || return 1
19   sed -i 's|/usr/bin/awk|/bin/awk|' ${pkgdir}/usr/bin/vcard2pal || return 1