summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a82247069dc39628c946684009c73b376ae24740 (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.6.1
pkgrel=2
pkgdesc="A general-purpose utility for analyzing word boundaries in Thai text and inserting predefined word delimiter codes"
arch=('i686' 'x86_64' 'armv7h' 'aarch64')
license=('GPL')
depends=('gcc-libs' 'libdatrie>=0.2.1')
groups=('texlive-lang')
source=(https://github.com/tlwg/swath/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.xz)
url="http://linux.thai.net/projects/swath"
sha1sums=('a2c8ce01401220e36c4a9280a1791045382b38c5')

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: