summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9e6e55f44cd9e425a8a487e04d0cc9305b854ed3 (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
# Contributor: twa022 <twa022 at gmail dot com>

pkgname=python-system_hotkey
epoch=1
pkgver=1.0.5
pkgrel=2
pkgdesc="Python library for system wide hotkeys"
arch=('any')
#url="https://github.com/timeyyy/system_hotkey"
url="https://github.com/hhannine/system_hotkey310"
license=('BSD')
depends=('python-xcffib')
makedepends=('python-build' 'python-installer' 'python-wheel' 'python-setuptools' 'git')
_commit='c0ee3549d5a1c66dee90ec669c95c4c0a81ab050'
source=("${pkgname}::git+${url}#commit=${_commit}"
        'rename_without_310.patch')
sha256sums=('SKIP'
            '4bc354ad56f76ebbaf49111eea73080e1133eff42f2484b521be5c73a01bbad2')

build() {
  cd ${pkgname}
  python -m build --wheel --no-isolation
}

package() {
  cd ${pkgname}
  python -m installer --destdir="$pkgdir" dist/*.whl
}