summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pcr/vislcg3/PKGBUILD57
-rw-r--r--pcr/vislcg3/vislcg3.install2
2 files changed, 35 insertions, 24 deletions
diff --git a/pcr/vislcg3/PKGBUILD b/pcr/vislcg3/PKGBUILD
index b99c80c42..85c5929db 100644
--- a/pcr/vislcg3/PKGBUILD
+++ b/pcr/vislcg3/PKGBUILD
@@ -1,27 +1,40 @@
-# Contributor: Kevin Brubeck Unhammer <unhammer@fsfe.org>
-# Maintainer: Kevin Brubeck Unhammer <unhammer@fsfe.org>
+# Maintainer (AUR): Kevin Brubeck Unhammer <unhammer@fsfe.org>
+# Contributor: bill-auger <bill-auger@programmer.net>
+
+
+_upstream_name=cg3
pkgname=vislcg3
-pkgver=0.9.9.10800
+pkgver=1.3.2
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' 'cmake')
-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
-}
+arch=(x86_64)
+arch+=(armv7h i686)
+url=http://beta.visl.sdu.dk/cg3.html
+license=(GPL3)
+
+depends_armv7h=(libicui18n.so libicuuc.so)
+depends_i686=(libicui18n.so libicuuc.so)
+depends_x86_64=(libicui18n.so libicuuc.so)
+makedepends=(boost gperftools cmake)
+optdepends=("perl: cg3-autobin.pl auto-compile-and-run wrapper")
+options=(!libtool)
+install=vislcg3.install
+
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/TinoDidriksen/${_upstream_name}/archive/v${pkgver}.tar.gz)
+sha256sums=('ce1a954f761137cad0b740c4f5e37220589cbd056b4fd69e30dd51e141d96da3')
+b2sums=('c598620ab4b673ed202a6817d9d3d0d5f738fcb2f88b31b1ad27825442471ef7d2d235fc758c326561862de774cf2d843f4061982e44a734e9b89f38f9d09397')
+
+
+build()
+{
+ cd "$srcdir"/${_upstream_name}-${pkgver}
-build() {
- cd "$srcdir/cg3"
./cmake.sh -D CMAKE_INSTALL_PREFIX=/usr && make
-} \ No newline at end of file
+}
+
+package()
+{
+ cd "$srcdir"/${_upstream_name}-${pkgver}
+
+ make DESTDIR="${pkgdir}"/ install
+}
diff --git a/pcr/vislcg3/vislcg3.install b/pcr/vislcg3/vislcg3.install
index 20772f49a..43a6cea31 100644
--- a/pcr/vislcg3/vislcg3.install
+++ b/pcr/vislcg3/vislcg3.install
@@ -8,5 +8,3 @@ post_upgrade() {
echo "Packages dependent on vislcg3 may require rebuilds!"
fi
}
-
-# vim:set ts=2 sw=2 et: \ No newline at end of file