blob: 0ae3cdf6b5e96d574af517c2afa619cda72295a4 (
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
31
|
# Maintainer: archshift
_pkgname=adusk
pkgname=$_pkgname-git
pkgver=64f3cec
pkgrel=1
pkgdesc="A standalone virtual keyboard for the Steam Controller"
arch=('i686' 'x86_64')
url="https://github.com/archshift/adusk"
license=('GPL3')
makedepends=('git')
depends=('python' 'python-steamcontroller-git' 'python-pysdl2' 'python-yaml')
provides=("$_pkgname")
source=("$_pkgname::git+https://github.com/archshift/adusk.git")
sha256sums=('SKIP')
pkgver() {
cd "${srcdir}/${_pkgname}"
git describe --always | sed -E 's/([^-]*-g)/r\1/;s/-/./g'
}
build() {
cd "${srcdir}/${_pkgname}"
python setup.py build
}
package() {
cd "${srcdir}/${_pkgname}"
python setup.py install --root="${pkgdir}" --prefix="/usr" --exec-prefix="/usr"
install -D LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|