summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume ALAUX2015-07-04 11:01:07 +0200
committerGuillaume ALAUX2015-07-04 11:01:07 +0200
commit730432b3c1b3edf50ab0072be8cd857c74c00550 (patch)
tree511ee76bbc4fc6e4daf82ba5c5bb815164fe028a
downloadaur-730432b3c1b3edf50ab0072be8cd857c74c00550.tar.gz
Initial commit 0.98
-rw-r--r--.SRCINFO17
-rw-r--r--.gitignore5
-rw-r--r--PKGBUILD30
-rwxr-xr-xQuackle.in3
4 files changed, 55 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..0b64b230e9d
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = quackle
+ pkgdesc = Free crossword game (Scrabble-like) artificial intelligence and analysis tool
+ pkgver = 0.98
+ pkgrel = 1
+ url = http://people.csail.mit.edu/jasonkb/quackle
+ arch = i686
+ arch = x86_64
+ license = GPL
+ makedepends = qt4
+ depends = qt4
+ source = https://github.com/quackle/quackle/archive/v0.98.tar.gz
+ source = Quackle.in
+ sha256sums = 2ad9b782054a9a466c7a56049003d721c952870abf87490bda7f1e66f8a4e353
+ sha256sums = fabaf321b3ec645ba9561c00202d1a31577b4086014ddb609c06905a6152035a
+
+pkgname = quackle
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..353683943f3
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,5 @@
+*.pkg.tar.xz
+*.src.tar.gz
+*.src.tar.xz
+pkg
+src
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..f855a9fb204
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,30 @@
+# Maintainer: Guillaume ALAUX <Guillaume at ALAUX dot net>
+pkgname=quackle
+pkgver=0.98
+pkgrel=1
+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=(https://github.com/${pkgname}/${pkgname}/archive/v${pkgver}.tar.gz
+ Quackle.in)
+sha256sums=('2ad9b782054a9a466c7a56049003d721c952870abf87490bda7f1e66f8a4e353'
+ 'fabaf321b3ec645ba9561c00202d1a31577b4086014ddb609c06905a6152035a')
+
+build() {
+ 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}/usr/share/${pkgname}
+ cp -r quacker/Quackle data ${pkgdir}/usr/share/${pkgname}
+ install -Dm755 ${srcdir}/Quackle.in ${pkgdir}/usr/bin/Quackle
+}
diff --git a/Quackle.in b/Quackle.in
new file mode 100755
index 00000000000..6c4d8c38840
--- /dev/null
+++ b/Quackle.in
@@ -0,0 +1,3 @@
+#! /usr/bin/sh
+cd /usr/share/quackle
+./Quackle