From 0ffc23ab15d486886a13d96e8d785002cbac1a74 Mon Sep 17 00:00:00 2001 From: Andreas Grapentin Date: Tue, 23 Jan 2018 05:40:40 +0100 Subject: pcr/quackle: updated to 1.0.3 --- pcr/quackle/PKGBUILD | 46 +++++++++++++++++++++------------------------- pcr/quackle/Quackle.in | 3 +++ pcr/quackle/quacker.sh | 3 --- 3 files changed, 24 insertions(+), 28 deletions(-) create mode 100644 pcr/quackle/Quackle.in delete mode 100755 pcr/quackle/quacker.sh (limited to 'pcr/quackle') 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 +# Maintainer (AUR): Guillaume ALAUX + +# 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 -- cgit v1.2.3