summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 23f24fa0f11668f71ee4f300e7bafd9a5c6b75e4 (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=2
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=('d067a66d3105bb8034d6e89d379f409f'
         '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
}