summaryrefslogtreecommitdiff
path: root/pcr/quackle/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/quackle/PKGBUILD')
-rw-r--r--pcr/quackle/PKGBUILD46
1 files changed, 21 insertions, 25 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
}