#Maintainer: Christopher Rey P. Baluyut pkgname=libqalculate pkgver=0.9.7 pkgrel=1 zenver=64 arch=i486 source=("http://downloads.sourceforge.net/qalculate/$pkgname-$pkgver.tar.gz") sourcetemplate=http://zenwalk.pinguix.com/user-accounts/shingoku/$pkgname/source docs=("AUTHORS" "ChangeLog" "COPYING" "INSTALL" "NEWS" "README*" "TODO") url="http://qalculate.sourceforge.net/" slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "libqalculate (Multi-purpose calculator library)" "This library underpins the Qalculate! multi-purpose desktop" "calculator for GNU/Linux." ) build() { cd $startdir/src/$pkgname-$pkgver NOCONFIGURE=1 sh ./autogen.sh || exit 1 ./configure \ --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var/lib \ --infodir=/usr/info \ --mandir=/usr/man \ --docdir=/usr/doc/$pkgname-$pkgver \ --disable-static \ --build=i486-slackware-linux || exit 1 sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool || exit 1 sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool || exit 1 make -j2 || make || exit 1 make install DESTDIR=$startdir/pkg || exit 1 }