Skip to content

Instantly share code, notes, and snippets.

Created April 10, 2013 16:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/5356027 to your computer and use it in GitHub Desktop.
Save anonymous/5356027 to your computer and use it in GitHub Desktop.
Updated PKGBUILD for pal (CLI calendar)
# 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
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment