updated on Thu Jan 12 08:01:00 UTC 2012
[aur-mirror.git] / tgif / PKGBUILD
blob0e82690141dfa7ffeaabb49f493b1b2e778c1fc5
1 # Contributor: Alex Suykov <axs@ukr.net>
2 pkgname=tgif
3 pkgver=4.2.5
4 pkgrel=2
5 pkgdesc="Vector-based drawing tool (for technical, not artistic, stuff)"
6 arch=('i686' 'x86_64')
7 url="http://bourbon.usc.edu/tgif/"
8 license=('custom:QPL')
9 depends=(glibc libx11 libxt zlib)
10 makedepends=(imake)
11 source=(ftp://bourbon.usc.edu/pub/tgif/tgif-QPL-$pkgver.tar.gz)
12 md5sums=('a622240ce2377f15b6d8261e4c49b8f6')
14 build() {
15   cd "$srcdir/tgif-QPL-$pkgver"
16   xmkmf || return 1
17   sed -i -e '/^LOCAL_LIBRARIES\s*= /s/=.*/=/' Makefile
18   sed -i -e '/^SYS_LIBRARIES\s*= /s/=.*/= -lXt -lX11 -lz -lm -lpthread/' Makefile
19   make || return 1
20   make DESTDIR="$pkgdir/" install
21   install -m0644 -D LICENSE.QPL "$pkgdir/usr/share/licenses/tgif/QPL"
24 # vim:set ts=2 sw=2 et: