updated on Mon Jan 16 12:07:49 UTC 2012
[aur-mirror.git] / eggx / PKGBUILD
blob32ef4fef98fa3105b3003a9efaa0d11b3c851572
1 # Maintainer: Akeru <AkeruLC@gmail.com>
3 pkgname=eggx
4 pkgver=0.93r4
5 pkgrel=1
6 pkgdesc="An extremely simple X11 graphics library for C and FORTRAN."
7 arch=('i686' 'x86_64')
8 url="http://www.ir.isas.jaxa.jp/~cyamauch/eggx_procall"
9 license=('GPL')
10 optdepends=('netpbm: to apply file-formats supported by netpbm' 'imagemagick: to apply file-formats supported by imagemagick')
11 source=($url/$pkgname-$pkgver.tar.gz)
12 md5sums=('ad6cf455d3e74595ca91ec7b205ec98a')
14 build() {
15   cd "$srcdir/$pkgname-$pkgver"
16   ln -sf Makefile.linux Makefile
17   sed -e "/^PREFIX/c PREFIX = \/usr" Makefile > buf
18   mv buf Makefile
19   make
22 package() {
23   cd "$srcdir/$pkgname-$pkgver"
24   make DESTDIR="$pkgdir/" install