blob: e17f9eb91585c2334dd4fbcee26fe69f4e999c0a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
# $Id: PKGBUILD 163464 2012-07-12 12:42:33Z bisson $
# Maintainer: Gaetan Bisson <bisson@archlinux.org>
# Contributor: Aaron Griffin <aaron@archlinux.org>
# Contributor: Neil Lin <neil@vip.url.com.tw>
pkgname=stardict
pkgver=3.0.3
pkgrel=2
pkgdesc='International dictionary software'
arch=('i686' 'x86_64' 'mips64el')
url='http://www.stardict.org/'
license=('GPL')
depends=('enchant' 'gtk2' 'libsigc++' 'libsm')
makedepends=('intltool' 'popt' 'gnome-doc-utils' 'gnome-common' 'libmysqlclient')
options=('!libtool' '!emptydirs')
source=("http://stardict-3.googlecode.com/files/stardict-${pkgver}.tar.bz2"
'crash-empty-dict.patch'
'gcc46.patch'
'glib2.patch'
'zlib.patch')
sha1sums=('5043c0918963cd4d40e6d6289353f295766ec74f'
'97af8fdb73c8f04674234b629c6867254e9bd043'
'6605a9cdfc4abc2a0ab4462d1228233d34806f0a'
'467880bca5e89aa25cb4a57a9e1caba9a8841822'
'024ac5eb75a11c96569e31021a4bd65463b3cf5b')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
patch -p1 -i ../crash-empty-dict.patch
patch -p1 -i ../gcc46.patch
patch -p1 -i ../glib2.patch
patch -p1 -i ../zlib.patch
./autogen.sh # gnome-autogen.sh requires gnome-common
./configure \
PKG_CONFIG=/usr/bin/pkg-config \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--disable-gnome-support \
--disable-schemas-install \
--disable-espeak \
--disable-gucharmap \
--disable-festival \
--disable-updateinfo \
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
}
|