diff options
author | Tavian Barnes | 2015-08-08 18:03:29 -0400 |
---|---|---|
committer | Tavian Barnes | 2015-08-08 18:03:29 -0400 |
commit | b8b430cfa276d4790fe6193143c69e79c78f7faa (patch) | |
tree | 2485457320ce40414083a69d42ee4feb1dceb55a | |
download | aur-b8b430cfa276d4790fe6193143c69e79c78f7faa.tar.gz |
Initial commit.
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 29 |
3 files changed, 47 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..53144e9177fa --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = crfsuite + pkgdesc = An implementation of Conditional Random Fields (CRFs) for labeling sequential data. + pkgver = 0.12 + pkgrel = 1 + url = http://www.chokkan.org/software/crfsuite/ + arch = i686 + arch = x86_64 + license = custom:BSD + depends = liblbfgs + source = https://github.com/downloads/chokkan/crfsuite/crfsuite-0.12.tar.gz + md5sums = 3fb2033066996921e7979e35ab1a570f + +pkgname = crfsuite + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..c1a848b39cb9 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +/*.tar.gz +/*.tar.xz +/pkg/ +/src/ diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..0d3660ac7944 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: Tavian Barnes <tavianator@tavianator.com> +# Contributor: ngukho <ngukho at gmail dot com> +pkgname=crfsuite +pkgver=0.12 +pkgrel=1 +pkgdesc="An implementation of Conditional Random Fields (CRFs) for labeling sequential data." +arch=('i686' 'x86_64') +url="http://www.chokkan.org/software/crfsuite/" +license=('custom:BSD') +depends=('liblbfgs') +source=("https://github.com/downloads/chokkan/crfsuite/$pkgname-$pkgver.tar.gz") +md5sums=('3fb2033066996921e7979e35ab1a570f') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + ./configure --prefix=/usr + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + make DESTDIR="$pkgdir/" install + + install -D -m644 COPYING $pkgdir/usr/share/licenses/crfsuite/COPYING +} + +# vim:set ts=2 sw=2 et: |