diff options
Diffstat (limited to 'pcr/vislcg3')
-rw-r--r-- | pcr/vislcg3/PKGBUILD | 27 | ||||
-rw-r--r-- | pcr/vislcg3/vislcg3.install | 12 |
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 |