diff options
author | sumt | 2016-05-31 07:59:20 +0300 |
---|---|---|
committer | sumt | 2016-05-31 07:59:20 +0300 |
commit | 8cde2fa2626f11e583985c4cac41171406323c76 (patch) | |
tree | 29a66147e6bd62c2591156b46d12e03b59e23e02 | |
download | aur-8cde2fa2626f11e583985c4cac41171406323c76.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 21 | ||||
-rw-r--r-- | PKGBUILD | 35 |
2 files changed, 56 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..580cb26f41d7 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,21 @@ +pkgbase = hfstospell-git + pkgdesc = Helsinki Finite-State Transducer Technology (HFST) tools + pkgver = 0.4.1.r5.g6d359c0 + pkgrel = 1 + url = https://hfst.github.io/ + arch = i686 + arch = x86_64 + license = APACHE + makedepends = git + makedepends = sed + depends = libxml++ + depends = libarchive + depends = icu + provides = hfstospell=0.4.1.r5.g6d359c0 + conflicts = hfstospell + options = !libtool + source = hfstospell-git::git+https://github.com/hfst/hfst-ospell.git + md5sums = SKIP + +pkgname = hfstospell-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..9607b646a2ff --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,35 @@ +# Maintainer: sumt <sci.fi: sumt> +# Contributor: Jesse Jaara <gmail.com: jesse.jaara> +# Contributor: Janne Haapsaari <iki.fi: haaja> + +pkgname=hfstospell-git +pkgver=0.4.1.r5.g6d359c0 +pkgrel=1 +pkgdesc='Helsinki Finite-State Transducer Technology (HFST) tools' +arch=('i686' 'x86_64') +url='https://hfst.github.io/' +license=('APACHE') +depends=('libxml++' 'libarchive' 'icu') +makedepends=('git' 'sed') +provides=(${pkgname%-*}=$pkgver) +conflicts=(${pkgname%-*}) +options=(!libtool) +source=('hfstospell-git::git+https://github.com/hfst/hfst-ospell.git') +md5sums=('SKIP') + +pkgver() { + cd "$pkgname" + git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' +} + +build() { + cd "$pkgname" + ./autogen.sh + ./configure --prefix=/usr + make +} + +package () { + cd "$pkgname" + make DESTDIR="${pkgdir}" install +} |