## # Contributor: skatiger # Maintainer: Todd Harbour # Comments: # Binary version available from: http://www.quadronyx.org/aur/ ## pkgname=stardict-tools-all pkgver=3.0.2 pkgrel=1 pkgdesc='stardict tools, writted in c++, ALL (binaries renamed to stardict-NAME).' arch=('i686' 'x86_64') url='http://code.google.com/p/stardict-3' license=('GPL') depends=('gtk2' 'glib2') makedepends=('intltool' 'libtool' 'libmysqlclient') conflicts=('stardict-tools') source=("https://stardict-3.googlecode.com/files/${pkgname%%-all}-${pkgver}.tar.bz2" 'fix-compilation.patch' 'fix-lz-linking.patch' 'fix-typo.patch' 'fix-zlib.patch' 'all-build-and-rename.patch') build() { cd "${srcdir}/${pkgname%%-all}-${pkgver}" patch -p1 < ../fix-compilation.patch patch -p1 < ../fix-lz-linking.patch patch -p1 < ../fix-typo.patch patch -p1 < ../fix-zlib.patch patch -p1 < ../all-build-and-rename.patch ./autogen.sh --prefix=/usr make } package() { cd "$srcdir/${pkgname%%-all}-${pkgver}" make DESTDIR="${pkgdir}" install } md5sums=('177c2c7b963669ed657c46d915e08c02' 'dd55902a93e7c8cd4dcddc2efb407c57' '9d2312c00edb6abbc38a5a7e8fa866db' 'cfc5af4ed3cee7df637da641f19fa5f5' 'f936a9d742b19a4fd29b94e55f0baf97' '428b7c9583fb73bac47b739a81b91a25')