blob: fca464709787eb61eb3e0c1d1910af25771fa9f9 (
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
|
# $Id: PKGBUILD 156513 2012-04-20 01:11:09Z bisson $
# Maintainer: Gaetan Bisson <bisson@archlinux.org>
# Contributor: damir <damir@archlinux.org>
# Contributor: Gan Lu <rhythm.gan@gmail.com>
pkgname=scim
pkgver=1.4.12
pkgrel=1
pkgdesc='Input method user interface and development platform'
url='http://www.scim-im.org/projects/scim'
license=('LGPL')
options=('!libtool')
arch=('i686' 'x86_64')
makedepends=('intltool')
depends=('libltdl' 'gtk2')
backup=('etc/scim/config' 'etc/scim/global')
source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz"
'ftp://ftp.archlinux.org/other/scim/scim-docs-20120420.tar.xz')
sha1sums=('948180ec0af18e435a95edbdb840cf41f3b24d32'
'b2cccb43673e1760abf6825768bc4354a981a0ad')
# Docs tarball temporarily generated with:
# svn co https://scim.svn.sourceforge.net/svnroot/scim/scim/trunk/docs docs
install=install
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
mv ../docs .
./bootstrap
sed 's/\$nls_cv_use_gnu_gettext/yes/' -i configure
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--disable-static \
--with-gtk-version=2 # still a couple issues with 3
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
}
|