diff options
author | Tony Lambiris | 2018-06-03 07:54:35 -0400 |
---|---|---|
committer | Tony Lambiris | 2018-06-03 07:54:35 -0400 |
commit | 1bb1c3a556ea0125ad148fedaadf13c2432368ff (patch) | |
tree | be47771cdf46e38940b3b6937a24e732645f720d | |
download | aur-1bb1c3a556ea0125ad148fedaadf13c2432368ff.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 34 |
3 files changed, 53 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..77adaf8ec4fd --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = gposttl-git + pkgdesc = Brill's Parts-of-Speech Tagger, with built-in Tokenizer and Lemmatizer + pkgver = r33.b8d425d + pkgrel = 1 + url = http://gposttl.sourceforge.net/ + arch = x86_64 + license = MIT + makedepends = git + makedepends = autoconf + depends = glibc + source = gposttl-git::git+https://github.com/tonylambiris/gposttl + sha256sums = SKIP + +pkgname = gposttl-git + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..be0b2345a860 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +src +pkg +gposttl-git +*pkg.tar.xz diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..92b6eb0a2b8b --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,34 @@ +# Maintainer: Tony Lambiris <tony@criticalstack.com> + +pkgname=gposttl-git +pkgver=r33.b8d425d +pkgrel=1 +pkgdesc="Brill's Parts-of-Speech Tagger, with built-in Tokenizer and Lemmatizer" +arch=(x86_64) +url="http://gposttl.sourceforge.net/" +license=(MIT) +depends=(glibc) +makedepends=(git autoconf) +source=("$pkgname::git+https://github.com/tonylambiris/gposttl") +sha256sums=('SKIP') + +pkgver() { + cd $pkgname + + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +build() { + cd $pkgname + + autoreconf -ivf + ./configure --prefix=/usr + + make +} + +package() { + cd $pkgname + + make DESTDIR="$pkgdir" install +} |