diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 22 |
1 files changed, 16 insertions, 6 deletions
@@ -1,18 +1,28 @@ # Contributor: twa022 <twa022 at gmail dot com> pkgname=python-system_hotkey -pkgver=1.0.2 +epoch=1 +pkgver=1.0.5 pkgrel=1 pkgdesc="Python library for system wide hotkeys" arch=('any') -url="https://github.com/timeyyy/system_hotkey" +#url="https://github.com/timeyyy/system_hotkey" +url="https://github.com/hhannine/system_hotkey310" license=('BSD') depends=('python-xcffib') -makedepends=('python-setuptools') -source=("${pkgname}-${pkgver}.tar.gz::https://github.com/timeyyy/${pkgname/python-/}/archive/${pkgver}.tar.gz") -sha256sums=('4d6e06bf359efecf4bea251e330c852f83b9150f503df28fd94239499f4ff606') +makedepends=('python-setuptools' 'git') +_commit='c0ee3549d5a1c66dee90ec669c95c4c0a81ab050' +source=("${pkgname}::git+${url}#commit=${_commit}" + 'rename_without_310.patch') +sha256sums=('SKIP' + '4bc354ad56f76ebbaf49111eea73080e1133eff42f2484b521be5c73a01bbad2') + +prepare() { + cd "${srcdir}/${pkgname}" + patch -Np2 -r- -i ../rename_without_310.patch +} package() { - cd "${srcdir}/${pkgname/python-/}-${pkgver}" + cd "${srcdir}/${pkgname}" python setup.py install --root="${pkgdir}" } |