updated on Wed Jan 11 00:07:16 UTC 2012
[aur-mirror.git] / aavga / PKGBUILD
blob31e132169b5c82b50a1887f260fa7b79169f12b3
1 # Contributor: Christoph Zeiler <archNOSPAM_at_moonblade.dot.org>
3 pkgname=aavga
4 pkgver=1.0rc1
5 pkgrel=1
6 pkgdesc="A drop-in replacement for SVGAlib replacing graphics output by ASCII art"
7 arch=('i686' 'x86_64')
8 url="http://aa-project.sourceforge.net/$pkgname/"
9 license=('GPL')
10 depends=('aalib')
11 source=(http://downloads.sourceforge.net/aa-project/$pkgname-$pkgver.tar.gz)
12 md5sums=('75c7c0be6d22ef52768568d5ec5c5c05')
14 build() {
15   cd $pkgname-1.0
17   gcc ${CFLAGS} -Wl,-soname,libvga.so -o $pkgname.so -shared -nostdlib -fPIC \
18         $pkgname.c -laa -lX11 -lm -lgpm -lc -lncurses || return 1
20   install -Dm644 $pkgname.so "$pkgdir"/usr/lib/$pkgname.so
23 # vim:set ts=2 sw=2 et: