summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: bf2e0763c1feaf2f1aaaa741c0481fa126c56d61 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Maintainer: Piotr Miller <nwg.piotr@gmail.com>
pkgname=('squarely')
pkgver=0.9
pkgrel=8
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' 'openal')
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=('de2fe090222f09aa7ae5e66947f68453'
         '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
}