summaryrefslogtreecommitdiff
path: root/community/stardict/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/stardict/PKGBUILD')
-rw-r--r--community/stardict/PKGBUILD49
1 files changed, 49 insertions, 0 deletions
diff --git a/community/stardict/PKGBUILD b/community/stardict/PKGBUILD
new file mode 100644
index 000000000..81843a581
--- /dev/null
+++ b/community/stardict/PKGBUILD
@@ -0,0 +1,49 @@
+# $Id: PKGBUILD 81945 2013-01-04 02:28:55Z fyan $
+# Maintainer: Felix Yan <felixonmars@gmail.com>
+# Contributor: Gaetan Bisson <bisson@archlinux.org>
+# Contributor: Aaron Griffin <aaron@archlinux.org>
+# Contributor: Neil Lin <neil@vip.url.com.tw>
+
+pkgname=stardict
+pkgver=3.0.4
+pkgrel=1
+pkgdesc='International dictionary software'
+arch=('i686' 'x86_64')
+url='http://www.stardict.org/'
+license=('GPL')
+depends=('enchant' 'gtk2' 'libsigc++' 'libsm' 'espeak' 'libgnome')
+makedepends=('intltool' 'popt' 'gnome-doc-utils' 'gnome-common' 'libmysqlclient')
+options=('!libtool' '!emptydirs')
+source=("http://stardict-3.googlecode.com/files/stardict-${pkgver}.tar.bz2"
+ 'gcc46.patch'
+ 'glib2.patch'
+ 'zlib.patch')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ patch -p1 -i ../gcc46.patch
+ patch -p1 -i ../glib2.patch
+ patch -p1 -i ../zlib.patch
+
+ ./configure \
+ PKG_CONFIG=/usr/bin/pkg-config \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --disable-schemas-install \
+ --disable-gucharmap \
+ --disable-festival \
+ --disable-updateinfo \
+
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}
+md5sums=('0a9abf1936c43a3ee255802c75267f1a'
+ '52ff47441c503de07add4b7688510bc5'
+ 'b2f216897c9053c7e4666c3d78705cf1'
+ 'ee26dce70fc83b3ce86e5100fede7fad')