summaryrefslogtreecommitdiff
path: root/pcr/vislcg3
diff options
context:
space:
mode:
authorGaming4JC <g4jc@openmailbox.org>2016-06-02 16:48:02 -0400
committerGaming4JC <g4jc@openmailbox.org>2016-06-02 16:48:02 -0400
commita09f5a8f070da13839acc36a531da505934bbdfb (patch)
tree8e338365512fca40cd9ec5b55750a1f23b34ba22 /pcr/vislcg3
parent7648da552405a5728db824ebb42569b47929a1a5 (diff)
downloadabslibre-a09f5a8f070da13839acc36a531da505934bbdfb.tar.gz
abslibre-a09f5a8f070da13839acc36a531da505934bbdfb.tar.bz2
abslibre-a09f5a8f070da13839acc36a531da505934bbdfb.zip
add vislcg3
Diffstat (limited to 'pcr/vislcg3')
-rw-r--r--pcr/vislcg3/PKGBUILD27
-rw-r--r--pcr/vislcg3/vislcg3.install12
2 files changed, 39 insertions, 0 deletions
diff --git a/pcr/vislcg3/PKGBUILD b/pcr/vislcg3/PKGBUILD
new file mode 100644
index 000000000..e41ba17c5
--- /dev/null
+++ b/pcr/vislcg3/PKGBUILD
@@ -0,0 +1,27 @@
+# Contributor: Kevin Brubeck Unhammer <unhammer@fsfe.org>
+# Maintainer: Kevin Brubeck Unhammer <unhammer@fsfe.org>
+pkgname=vislcg3
+pkgver=0.9.9.10800
+pkgrel=1
+pkgdesc="Compiler and parser for Constraint Grammar (CG), a paradigm for robust, rule-based Natural Language Parsing."
+url="http://beta.visl.sdu.dk/cg3.html"
+license=('GPL3')
+makedepends=('boost' 'gperftools')
+depends=('icu')
+optdepends=('perl: cg3-autobin.pl auto-compile-and-run wrapper')
+options=('!libtool')
+arch=('i686' 'x86_64')
+source=("http://beta.visl.sdu.dk/download/vislcg3/cg3-0.9.9~r10800.tar.bz2")
+md5sums=('c6a6549cf040077949ee33ca239d3128')
+sha256sums=('c85446c671fdb55dc01bf6092dd32ccb05ad4e057563d5c4293ee2409df610ba')
+install='vislcg3.install'
+
+package () {
+ cd "$srcdir/cg3"
+ make DESTDIR="$pkgdir/" install
+}
+
+build() {
+ cd "$srcdir/cg3"
+ ./cmake.sh -D CMAKE_INSTALL_PREFIX=/usr && make
+} \ No newline at end of file
diff --git a/pcr/vislcg3/vislcg3.install b/pcr/vislcg3/vislcg3.install
new file mode 100644
index 000000000..20772f49a
--- /dev/null
+++ b/pcr/vislcg3/vislcg3.install
@@ -0,0 +1,12 @@
+## arg 1: the new package version
+## arg 2: the old package version
+post_upgrade() {
+ old=`echo $2 | sed 's/-[0-9]*$//'`
+ new=`echo $1 | sed 's/-[0-9]*$//'`
+ if [[ $old != $new ]]; then
+ echo "New vislcg3 version."
+ echo "Packages dependent on vislcg3 may require rebuilds!"
+ fi
+}
+
+# vim:set ts=2 sw=2 et: \ No newline at end of file