diff options
author | Márcio Alexandre Silva Delgado <coadde@lavabit.com> | 2013-08-30 16:11:09 -0300 |
---|---|---|
committer | Márcio Alexandre Silva Delgado <coadde@lavabit.com> | 2013-08-30 16:11:09 -0300 |
commit | 479722d138d109c10b9895a22868463c642e7edb (patch) | |
tree | 7ec3471b9aa6a0d24b735040575b1923e4b26856 /pcr/quackle | |
parent | a7cbbe0d9d06f75042fe4267a19833cf95e2d7d2 (diff) | |
parent | e73edbc68c2fd12028bb3e6e0da12fda51f4f3cd (diff) | |
download | abslibre-479722d138d109c10b9895a22868463c642e7edb.tar.gz abslibre-479722d138d109c10b9895a22868463c642e7edb.tar.bz2 abslibre-479722d138d109c10b9895a22868463c642e7edb.zip |
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'pcr/quackle')
-rw-r--r-- | pcr/quackle/PKGBUILD | 38 | ||||
-rwxr-xr-x | pcr/quackle/quacker.sh | 3 |
2 files changed, 41 insertions, 0 deletions
diff --git a/pcr/quackle/PKGBUILD b/pcr/quackle/PKGBUILD new file mode 100644 index 000000000..02f5ac568 --- /dev/null +++ b/pcr/quackle/PKGBUILD @@ -0,0 +1,38 @@ +# Maintainer: Guillaume ALAUX <Guillaume at ALAUX dot net> +pkgname=quackle +pkgver=0.97 +pkgrel=2 +pkgdesc='Free crossword game (Scrabble-like) artificial intelligence and analysis tool' +arch=('i686' 'x86_64') +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') + +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 +} + +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 +} diff --git a/pcr/quackle/quacker.sh b/pcr/quackle/quacker.sh new file mode 100755 index 000000000..702c262bf --- /dev/null +++ b/pcr/quackle/quacker.sh @@ -0,0 +1,3 @@ +#!/bin/sh +cd /opt/quackle +./quacker |