summaryrefslogtreecommitdiff
path: root/extra/m17n-lib/PKGBUILD
blob: 5b4952dd320e6673bd2e0f3454ebb420516da3fb (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
# $Id: PKGBUILD 106797 2011-01-19 09:42:18Z bisson $
# Contributor: Camille Moncelier <pix@devlife.org>

pkgname=m17n-lib
pkgver=1.6.2
pkgrel=2
pkgdesc='A multilingual text processing library (runtimes)'
arch=('i686' 'x86_64' 'mips64el')
url='http://www.m17n.org/m17n-lib/'
license=('GPL')
depends=('libxft' 'm17n-db' 'fribidi' 'libxml2' 'gd' 'libotf>=0.9.11')
optdepends=('anthy: to use the anthy input method')
options=('!libtool' '!makeflags')
source=("http://www.m17n.org/m17n-lib-download/$pkgname-$pkgver.tar.gz"
        'locale.patch')
sha1sums=('9b9ada79357dd56c90c64cd36845c5537c363d79'
          '55a09b9d8e6ea590d5c8f06d1397bfa0b00c1697')

build() {
  cd "$srcdir/$pkgname-$pkgver"
  patch -p1 -i ../locale.patch # cf. FS#20482
  ./configure --prefix=/usr
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  make DESTDIR="$pkgdir" install
}