summaryrefslogtreecommitdiff
path: root/pcr/quackle
diff options
context:
space:
mode:
authorAndreas Grapentin <andreas@grapentin.org>2018-01-23 05:40:40 +0100
committerAndreas Grapentin <andreas@grapentin.org>2018-01-23 05:40:40 +0100
commit0ffc23ab15d486886a13d96e8d785002cbac1a74 (patch)
tree78713e627052c37aecf405406ec85cf002a32016 /pcr/quackle
parent3fdcc3126fd7bbb5f3f4e697b90a8d9e7b682252 (diff)
downloadabslibre-0ffc23ab15d486886a13d96e8d785002cbac1a74.tar.gz
abslibre-0ffc23ab15d486886a13d96e8d785002cbac1a74.tar.bz2
abslibre-0ffc23ab15d486886a13d96e8d785002cbac1a74.zip
pcr/quackle: updated to 1.0.3
Diffstat (limited to 'pcr/quackle')
-rw-r--r--pcr/quackle/PKGBUILD46
-rw-r--r--pcr/quackle/Quackle.in3
-rwxr-xr-xpcr/quackle/quacker.sh3
3 files changed, 24 insertions, 28 deletions
diff --git a/pcr/quackle/PKGBUILD b/pcr/quackle/PKGBUILD
index 9f6fc79e5..ba272f571 100644
--- a/pcr/quackle/PKGBUILD
+++ b/pcr/quackle/PKGBUILD
@@ -1,38 +1,34 @@
-# Maintainer (Arch): Guillaume ALAUX <Guillaume at ALAUX dot net>
+# Maintainer (AUR): Guillaume ALAUX <Guillaume at ALAUX dot net>
+
+# parabola changes and rationale:
+# no changes.
+
pkgname=quackle
-pkgver=0.97
-pkgrel=2
+pkgver=1.0.3
+pkgrel=1
pkgdesc='Free crossword game (Scrabble-like) artificial intelligence and analysis tool'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'armv7h')
url='http://people.csail.mit.edu/jasonkb/quackle'
license=('GPL')
depends=('qt4')
makedepends=('qt4')
-source=(http://people.csail.mit.edu/jasonkb/${pkgname}/downloads/${pkgname}-${pkgver}/${pkgname}-${pkgver}-source.tar.gz
- quacker.sh)
-md5sums=('f744484e916f4cbbcffe6c13d772aee7'
- '0c3cf80395db58959c8ae825b917a19f')
+source=(https://github.com/${pkgname}/${pkgname}/archive/v${pkgver}.tar.gz
+ Quackle.in)
+sha256sums=('602b076126cbcff739497fb4708e51d3d5619da2fb0d55218f52b72d5ec5b2cd'
+ 'fabaf321b3ec645ba9561c00202d1a31577b4086014ddb609c06905a6152035a')
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- qmake-qt4
- make clean
- make
-
- cd "${srcdir}/${pkgname}-${pkgver}/quackleio"
- qmake-qt4
- make clean
- make
-
- cd "${srcdir}/${pkgname}-${pkgver}/quacker"
- qmake-qt4
- make clean
- make
+ for dir in "" quackleio quacker; do
+ cd "${srcdir}/${pkgname}-${pkgver}/${dir}"
+ qmake-qt4
+ make clean
+ make
+ done
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
- install -dm755 ${pkgdir}/opt/${pkgname}
- cp -r quacker/quacker data ${pkgdir}/opt/${pkgname}
- install -Dm755 ${srcdir}/quacker.sh ${pkgdir}/usr/bin/quacker
+ install -dm755 ${pkgdir}/usr/share/${pkgname}
+ cp -r quacker/Quackle data ${pkgdir}/usr/share/${pkgname}
+ install -Dm755 ${srcdir}/Quackle.in ${pkgdir}/usr/bin/Quackle
}
diff --git a/pcr/quackle/Quackle.in b/pcr/quackle/Quackle.in
new file mode 100644
index 000000000..6c4d8c388
--- /dev/null
+++ b/pcr/quackle/Quackle.in
@@ -0,0 +1,3 @@
+#! /usr/bin/sh
+cd /usr/share/quackle
+./Quackle
diff --git a/pcr/quackle/quacker.sh b/pcr/quackle/quacker.sh
deleted file mode 100755
index 702c262bf..000000000
--- a/pcr/quackle/quacker.sh
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-cd /opt/quackle
-./quacker