diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -4,12 +4,12 @@ # Run 'makepkg -i' and hope for best :) pkgname=sc-controller-git -pkgver=0.4.8.11.r34.76020b51 +pkgver=0.4.8.13.r0.4899f699 pkgrel=1 pkgdesc='User-mode driver and GTK3 based GUI for Steam Controller' arch=('x86_64' 'aarch64') url='https://github.com/Ryochan7/sc-controller' -license=('GPL2') +license=('GPL-2.0-only') depends=('gtk3' 'python-gobject' 'python-cairo' 'python-pylibacl' 'python-evdev' 'python-vdf' 'xorg-xinput') optdepends=('gtk-layer-shell: wayland OSD support') makedepends=('python-setuptools' 'git') @@ -19,16 +19,16 @@ source=('sc-controller'::'git+https://github.com/Ryochan7/sc-controller.git') sha256sums=('SKIP') pkgver() { - cd "$srcdir/${pkgname%-git}" + cd "${srcdir}/${pkgname%-git}" printf "%s" "$(git describe --tags --long | sed -e 's/\([^-]*-\)g/r\1/;s/-/./g' -e 's/^v//')" } build() { - cd "$srcdir/${pkgname%-git}" + cd "${srcdir}/${pkgname%-git}" python setup.py build } package() { - cd "$srcdir/${pkgname%-git}" + cd "${srcdir}/${pkgname%-git}" python setup.py install --root="${pkgdir}" --optimize=1 } |