public
anonymous / PKGBUILD
Created

Updated PKGBUILD for pal (CLI calendar)

  • Download Gist
PKGBUILD
Shell
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
# Contributor: damir <damir@archlinux.org>
 
pkgname=pal
pkgver=0.4.3
pkgrel=4
pkgdesc="A command-line calendar program."
arch=('i686' 'x86_64')
url="http://palcal.sourceforge.net"
license=('GPL')
depends=('pkg-config' 'glib2' 'readline' 'gettext')
source=(http://iweb.dl.sourceforge.net/project/palcal/pal/$pkgver/$pkgname-$pkgver.tgz)
md5sums=('7585089bc191f083c96234c1c8d05726')
 
build() {
cd ${srcdir}/${pkgname}-${pkgver}/src
sed -i "s:-O2 -Wall:${CFLAGS}:g" Makefile.defs
}
 
package() {
cd ${srcdir}/${pkgname}-${pkgver}/src
make && make DESTDIR=${pkgdir} install-no-rm
sed -i 's|/usr/bin/awk|/bin/awk|' ${pkgdir}/usr/bin/vcard2pal
}

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.