summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorpiotr2019-04-10 02:10:00 +0200
committerpiotr2019-04-10 02:10:00 +0200
commitafd388903e1e8f8eec4be6bd1cd7c5a66635f5de (patch)
tree73c08d883d988d96ecdece260c906b4d909b521a
downloadaur-afd388903e1e8f8eec4be6bd1cd7c5a66635f5de.tar.gz
initial commit
-rw-r--r--.SRCINFO24
-rw-r--r--PKGBUILD30
2 files changed, 54 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..7ec31570bd2
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,24 @@
+pkgbase = squarely
+ pkgdesc = Puzzle game written in Python using the pyglet library
+ pkgver = 0.9
+ pkgrel = 1
+ url = https://github.com/nwg-piotr/squarely
+ arch = i686
+ arch = x86_64
+ license = GPL3
+ depends = python
+ depends = python-setuptools
+ depends = python-pyglet
+ depends = python-requests
+ optdepends = avbin7: for compressed sound playback
+ source = https://github.com/nwg-piotr/squarely/raw/master/dist/squarely-0.9.tar.gz
+ source = https://github.com/nwg-piotr/squarely/raw/master/dist/squarely
+ source = https://github.com/nwg-piotr/squarely/raw/master/dist/squarely.svg
+ source = https://github.com/nwg-piotr/squarely/raw/master/dist/squarely.desktop
+ md5sums = 4b6cfbf3983bbbb23c14679c7be74f7a
+ md5sums = 8a910f0a5ecf156cc6856bd9b636143d
+ md5sums = a87a406cab2e66a0efaba87deffa2175
+ md5sums = 795bf57c86be1a38812ec7b4716d8729
+
+pkgname = squarely
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..eb3931c19e2
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,30 @@
+# Maintainer: Piotr Miller <nwg.piotr@gmail.com>
+pkgname=('squarely')
+pkgver=0.9
+pkgrel=1
+pkgdesc="Puzzle game written in Python using the pyglet library"
+arch=('i686' 'x86_64')
+url="https://github.com/nwg-piotr/squarely"
+license=('GPL3')
+depends=('python' 'python-setuptools' 'python-pyglet' 'python-requests' )
+optdepends=('avbin7: for compressed sound playback')
+source=("https://github.com/nwg-piotr/squarely/raw/master/dist/squarely-0.9.tar.gz"
+ "https://github.com/nwg-piotr/squarely/raw/master/dist/squarely"
+ "https://github.com/nwg-piotr/squarely/raw/master/dist/squarely.svg"
+ "https://github.com/nwg-piotr/squarely/raw/master/dist/squarely.desktop")
+
+md5sums=('4b6cfbf3983bbbb23c14679c7be74f7a'
+ '8a910f0a5ecf156cc6856bd9b636143d'
+ 'a87a406cab2e66a0efaba87deffa2175'
+ '795bf57c86be1a38812ec7b4716d8729')
+
+package() {
+ install -D -m 755 squarely \
+ "$pkgdir"/usr/bin/squarely
+ install -D -m 755 squarely.desktop \
+ "$pkgdir"/usr/share/applications/squarely.desktop
+ install -D -m 644 squarely.svg \
+ "$pkgdir"/usr/share/squarely/squarely.svg
+ cd "$srcdir/$pkgname-$pkgver"
+ python setup.py install --root="$pkgdir/" --optimize=1
+}