summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorg├ęballin2019-01-05 02:56:45 +0100
committerg├ęballin2019-01-05 02:56:45 +0100
commitd3363eacf35a673cef5e392ba0a93e0e8222054c (patch)
tree202ef322ac764d4ce4c463cb7c2c9e039d209ce4
downloadaur-d3363eacf35a673cef5e392ba0a93e0e8222054c.tar.gz
Initial commit for the actual version of awale
-rw-r--r--.SRCINFO18
-rwxr-xr-xPKGBUILD31
2 files changed, 49 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..e066de9b4fb
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = awale
+ pkgdesc = A free version of the classic african reflexion game.
+ pkgver = 1.5
+ pkgrel = 1
+ url = http://www.nongnu.org/awale/index.html
+ arch = x86_64
+ arch = i686
+ license = GPLv2
+ makedepends = gcc
+ makedepends = make
+ depends = sdl
+ depends = tcl
+ depends = tk
+ source = http://ftp.igh.cnrs.fr/pub/nongnu/awale/awale-1.5.tar.gz
+ md5sums = 579709384f038b75f31e26e3e490f60b
+
+pkgname = awale
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100755
index 00000000000..476b1093605
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer: Geballin - Guillaume Ballin <macniaque at free dot fr>
+pkgname=awale
+pkgver=1.5
+pkgrel=1
+pkgdesc="A free version of the classic african reflexion game."
+url="http://www.nongnu.org/awale/index.html"
+arch=('x86_64' 'i686')
+license=('GPLv2')
+depends=('sdl' 'tcl' 'tk')
+optdepends=()
+makedepends=(gcc make)
+conflicts=()
+replaces=()
+backup=()
+install=
+source=("http://ftp.igh.cnrs.fr/pub/nongnu/awale/${pkgname}-${pkgver}.tar.gz")
+
+md5sums=('579709384f038b75f31e26e3e490f60b'
+ )
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure
+ make
+ chmod +x+x+x ./src/xawale.tcl
+ }
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+ }