diff options
author | Alan Bunbury | 2019-11-17 10:43:42 +0000 |
---|---|---|
committer | Alan Bunbury | 2019-11-17 10:43:42 +0000 |
commit | 1f7fc0cf26a549de55d38a960d09ca65bff11601 (patch) | |
tree | f0ba9f62373bbeb1bb24bb86e1e7e33e2886de8d | |
download | aur-1f7fc0cf26a549de55d38a960d09ca65bff11601.tar.gz |
first commit of package
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 27 |
2 files changed, 43 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..73c3bab9a24c --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = flying-robots + pkgdesc = A three-dimensional clone of the classic BSD Robots game. + pkgver = 0.2.0 + pkgrel = 1 + url = https://github.com/bunburya/FlyingRobots + arch = any + license = MIT + makedepends = python-setuptools + depends = python + optdepends = tk: For tkinter-based UI + options = !emptydirs + source = http://bunburya.eu/apps/flying-robots/flying-robots-0.2.0.tar.gz + md5sums = ce38284174e6cf15c0ca710c15bce486 + +pkgname = flying-robots + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..d2f5a2881bda --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Alan Bunbury +pkgname=flying-robots +pkgver=0.2.0 +pkgrel=1 +pkgdesc="A three-dimensional clone of the classic BSD Robots game." +arch=('any') +url="https://github.com/bunburya/FlyingRobots" +license=('MIT') +depends=('python') +optdepends=('tk: For tkinter-based UI') +makedepends=('python-setuptools') +options=(!emptydirs) +source=("http://bunburya.eu/apps/${pkgname}/${pkgname}-${pkgver}.tar.gz") + +build() { + cd "${pkgname}-${pkgver}" + python setup.py build +} + +package() { + cd "${pkgname}-${pkgver}" + python setup.py install --root="$pkgdir/" --optimize=1 --skip-build +} + +md5sums=('ce38284174e6cf15c0ca710c15bce486') + +# vim:set ts=2 sw=2 et: |