diff options
author | Ted Alff | 2019-05-19 11:05:07 -0400 |
---|---|---|
committer | Ted Alff | 2019-05-19 11:05:07 -0400 |
commit | f4f7672ea0cacf11d5d546f99b7215b936fec93b (patch) | |
tree | be348ac35711a358c34ed8899b3d7d3d8fb3c741 | |
download | aur-f4f7672ea0cacf11d5d546f99b7215b936fec93b.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 20 |
2 files changed, 34 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..b759d52d77eb --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = python-system_hotkey + pkgdesc = Python library for system wide hotkeys + pkgver = 1.0.2 + pkgrel = 1 + url = https://github.com/timeyyy/system_hotkey + arch = any + license = BSD + makedepends = python-setuptools + depends = python-xcffib + source = python-system_hotkey-1.0.2.tar.gz::https://github.com/timeyyy/system_hotkey/archive/1.0.2.tar.gz + sha256sums = 4d6e06bf359efecf4bea251e330c852f83b9150f503df28fd94239499f4ff606 + +pkgname = python-system_hotkey + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..a302c9f6ef8d --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,20 @@ +# Contributor: twa022 <twa022 at gmail dot com> + +pkgname=python-system_hotkey +pkgver=1.0.2 +pkgrel=1 +pkgdesc="Python library for system wide hotkeys" +arch=('any') +url="https://github.com/timeyyy/system_hotkey" +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') + +package() { + cd "${srcdir}/${pkgname/python-/}-${pkgver}" + python setup.py install --root="${pkgdir}" + + install -Dt "${pkgdir}/usr/share/licenses/${pkgname}" -m644 "${srcdir}/${pkgname/python-/}-${pkgver}/LICENSE" +} |