Source

pkgbuilds / swath / PKGBUILD

Full commit
# Contributor: Smith Dhumbumroong <zodmaner at gmail dot com>

pkgname=swath
pkgver=0.4.3
pkgrel=1
pkgdesc="A general-purpose utility for analyzing word boundaries in Thai text and inserting predefined word delimiter codes"
arch=('i686' 'x86_64')
license=('GPL')
depends=('gcc-libs' 'libdatrie>=0.2.1')
groups=('texlive-lang')
source=(ftp://linux.thai.net/pub/thailinux/software/swath/$pkgname-$pkgver.tar.gz)
url="http://linux.thai.net/projects/swath"
md5sums=('31d9e15e8d2b233338531e94a514614f')

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: