blob: ae2a08c80b8465bedeb5700b2bc1cb2825b4f051 (
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
|
# Maintainer: alessandro (gort818) <gort818@gmail.com>
pkgname=openjk-launcher
pkgver=0.2.r6.g6500327
pkgrel=1
pkgdesc='A launcher and installer for OpenJK the opensource engine for Star Wars Jedi Knight: Jedi Academy'
arch=('i686' 'x86_64')
license=('GPL3')
url="https://github.com/gort818/${pkgname%-git}"
depends=('python3' 'python-gobject' 'gtk3' 'python-requests' 'python-pygame')
options=('!emptydirs')
source=('openjk-launcher::git+https://github.com/gort818/openjk-launcher#branch=master')
sha1sums=('SKIP')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
pkgver() {
cd "${pkgname%-git}"
git describe --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
package() {
cd "$srcdir/${pkgname%-git}"
python setup.py install --root="$pkgdir/" --optimize=1
}
|