summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e6db733c0bdf55c481209a93d5cb2e6ae54bf583 (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
pkgname=swath
pkgver=0.5.2
pkgrel=3
pkgdesc="A general-purpose utility for analyzing word boundaries in Thai text and inserting predefined word delimiter codes"
arch=('i686' 'x86_64' 'armv7h')
license=('GPL')
depends=('gcc-libs' 'libdatrie>=0.2.1')
groups=('texlive-lang')
source=(ftp://linux.thai.net/pub/thailinux/software/swath/$pkgname-$pkgver.tar.xz)
url="http://linux.thai.net/projects/swath"
md5sums=('837b313d17de9c4bcdfd0164f8df9365')

build() {
  cd "$srcdir/$pkgname-$pkgver"
  ./configure --prefix=/usr || return 1
  make || return 1
}

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

# vim:set ts=2 sw=2 et: