1 # Maintainer: napa3um@gmail.com
7 pkgdesc="Exception handling library for C"
9 url="http://bb.xnull.de/projects/libexception/"
10 source=(http://bb.xnull.de/projects/libexception/dist/libexception-$pkgver.tar.bz2)
11 md5sums=('b27f7b97da94f2f44c1c9f3f4d701ef0')
16 cd $srcdir/libexception-$pkgver
18 ./configure --prefix=/usr --enable-static || return 1
21 #dirty hack for static version (--enable-static not work):
23 mkdir $pkgdir/usr/include
25 ar -r $pkgdir/usr/lib/libexception.a $srcdir/libexception-$pkgver/src/tryenv.o $srcdir/libexception-$pkgver/src/exception.o
26 install $srcdir/libexception-$pkgver/src/exception.h $pkgdir/usr/include/exception.h