[arch-commits] Commit in pal/trunk (PKGBUILD)
Eric Bélanger
eric at archlinux.org
Sun Feb 8 21:52:57 UTC 2009
Date: Sunday, February 8, 2009 @ 16:52:57
Author: eric
Revision: 26532
upgpkg: pal 0.4.2-1
Upstream update
Modified:
pal/trunk/PKGBUILD
----------+
PKGBUILD | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2009-02-08 21:49:45 UTC (rev 26531)
+++ PKGBUILD 2009-02-08 21:52:57 UTC (rev 26532)
@@ -1,19 +1,21 @@
# $Id$
# Maintainer: damir <damir at archlinux.org>
+
pkgname=pal
-pkgver=0.3.4
-pkgrel=3
+pkgver=0.4.2
+pkgrel=1
pkgdesc="A command-line calendar program."
arch=('i686' 'x86_64')
url="http://palcal.sourceforge.net"
license=('GPL')
depends=('glib2' 'readline' 'gettext')
source=(http://downloads.sourceforge.net/sourceforge/palcal/$pkgname-$pkgver.tgz)
-md5sums=('86911792eace630a1c2e93846c27290c')
+md5sums=('1b2fd84871f6ba4b47ab47d8f91a3826')
build() {
- cd $startdir/src/$pkgname-$pkgver/src
- sed -i "s:-O2 -Wall:${CFLAGS}:g" Makefile.defs
+ cd ${srcdir}/${pkgname}-${pkgver}/src
+ sed -i "s:-O2 -Wall:${CFLAGS}:g" Makefile.defs || return 1
make || return 1
- make DESTDIR=$startdir/pkg install-no-rm
+ make DESTDIR=${pkgdir} install-no-rm || return 1
+ sed -i 's|/usr/bin/awk|/bin/awk|' ${pkgdir}/usr/bin/vcard2pal || return 1
}
More information about the arch-commits
mailing list