mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
21 lines
673 B
Bash
21 lines
673 B
Bash
# $Id: PKGBUILD 42892 2009-06-18 22:18:15Z andrea $
|
|
# Maintainer: damir <damir@archlinux.org>
|
|
|
|
pkgname=pal
|
|
pkgver=0.4.3
|
|
pkgrel=2
|
|
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=('7585089bc191f083c96234c1c8d05726')
|
|
|
|
build() {
|
|
cd ${srcdir}/${pkgname}-${pkgver}/src
|
|
sed -i "s:-O2 -Wall:${CFLAGS}:g" Makefile.defs || return 1
|
|
make || return 1
|
|
make DESTDIR=${pkgdir} install-no-rm || return 1
|
|
sed -i 's|/usr/bin/awk|/bin/awk|' ${pkgdir}/usr/bin/vcard2pal || return 1
|
|
}
|