1 # KTranslator: Installer: Arch
2 # Contributor: Chris Giles <Chris.G.27 (at) Gmail.com>
3 # Contributor: shamrok <szamrok@gmx.net>
4 # Contributor: Gernot Pansy <notz@gmx.at>
9 pkgdesc="A program to translate words from one language to another (like Babylon)"
10 arch=("i686" "x86_64")
11 url="http://${pkgname}.sourceforge.net/"
14 source=(http://prdownloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2)
17 cd ${srcdir}/${pkgname}-${pkgver}
20 sed -i 's|#include <string>|#include <string>\n#include <cstring>|g' ./${pkgname}/plugins/babylon/libbab.cc || return 1
23 ./configure --prefix=/opt/kde --without-arts || return 1
25 make DESTDIR=${pkgdir} install || return 1
28 sha1sums=('e73eebe7a55c82631028fde1fbf4df3f7f5d7caa')