1 # Maintainer: SpepS <dreamspepser at yahoo dot it>
6 pkgdesc="A programming language thought to create graphic figures."
8 url="http://sourceforge.net/projects/boxc/"
10 depends=('cairo' 'libltdl')
11 makedepends=('libtool')
12 optdepends=('boxer: pygtk GUI')
13 conflicts=("$pkgname-core")
14 replaces=("$pkgname-core")
16 source=("http://switch.dl.sourceforge.net/project/boxc/Box%20-%20the%20compiler/$pkgname-$pkgver/$pkgname-$pkgver.tar.gz")
17 md5sums=('559402b2bbe3d0f8cba596fae3cc8c3e')
20 cd "$srcdir/$pkgname-$pkgver"
22 # remove insecure rpath
23 sed -i "s|\(\${wl}\-rpath\)\( \${wl}\$libdir\)|\1-link\2|" configure
25 ./configure --prefix=/usr \
32 cd "$srcdir/$pkgname-$pkgver"
34 make DESTDIR="$pkgdir/" install
37 install -d "$pkgdir/usr/share/$pkgname"
38 cp -a examples "$pkgdir/usr/share/$pkgname"
39 find "$pkgdir/usr/share/$pkgname" -name "Makefile*" -delete
42 # vim:set ts=2 sw=2 et: