diff options
author | dchusovitin | 2021-06-05 20:13:23 +0300 |
---|---|---|
committer | dchusovitin | 2021-06-05 20:15:09 +0300 |
commit | 7292bd65443ecd8304a63b8d72e5d69ce73fcd70 (patch) | |
tree | 9b3d0c754ff8fda2690a8e22c3ebc57288d0a0c7 /PKGBUILD | |
download | aur-sway-xkb-switcher.tar.gz |
Initial (version 0.3.0-1)
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..2d1f029afc33 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,19 @@ +# Maintainer: dchusovitin <dchusovitin@gmail.com> +pkgname='sway-xkb-switcher' +pkgver=0.3.0 +pkgrel=1 +pkgdesc='Keyboard layout switcher for sway windows' +arch=('x86_64') +url='https://github.com/nmukhachev/sway-xkb-switcher' +license=('MIT') +depends=('python-i3ipc') +makedepends=('python-pip') +source=("$pkgname-$pkgver.tar.gz::https://github.com/nmukhachev/sway-xkb-switcher/archive/v$pkgver.tar.gz") + +sha256sums=('2c3afee5e891a13340fe8fb2fda81b3c172411d2acd6a50502f9d014133fa773') + +package() { + PIP_CONFIG_FILE=/dev/null pip install --isolated --root="$pkgdir" --ignore-installed --no-deps --no-compile --no-warn-script-location "./${pkgname}-${pkgver}" + python -O -m compileall -q -s ${pkgdir} ${pkgdir} +} + |