[ create a new paste ] login | about

Link: http://codepad.org/NxMG65av    [ raw code | fork ]

Plain Text, pasted on Feb 11:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Contributor: damir <damir@archlinux.org>

pkgname=pal
pkgver=0.4.3
pkgrel=3
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 
  make && make DESTDIR=${pkgdir} install-no-rm 
  sed -i 's|/usr/bin/awk|/bin/awk|' ${pkgdir}/usr/bin/vcard2pal
}


Create a new paste based on this one


Comments: