0.14.4
This commit is contained in:
18
.SRCINFO
Normal file
18
.SRCINFO
Normal file
@@ -0,0 +1,18 @@
|
||||
pkgbase = python-pystray
|
||||
pkgdesc = Provides systray integration.
|
||||
pkgver = 0.14.4
|
||||
pkgrel = 1
|
||||
url = https://github.com/moses-palmer/pystray
|
||||
arch = any
|
||||
license = GPL
|
||||
makedepends = python
|
||||
makedepends = python2
|
||||
makedepends = python-setuptools
|
||||
makedepends = python2-setuptools
|
||||
source = https://github.com/moses-palmer/pystray/archive/v0.14.4.tar.gz
|
||||
sha512sums = 8c0da713ce5314137015d23c156de22054a44d4720be36a41ad1917bc694ffaed0b254b9473f67a26bf630e12d7fa71744410723927318280768efcfb752cd81
|
||||
|
||||
pkgname = python-pystray
|
||||
|
||||
pkgname = python2-pystray
|
||||
|
6
.gitignore
vendored
Normal file
6
.gitignore
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
/pkg/
|
||||
/src/
|
||||
/*.tar.gz
|
||||
/*.xz
|
||||
/*.zst
|
||||
/*.swp
|
28
PKGBUILD
Normal file
28
PKGBUILD
Normal file
@@ -0,0 +1,28 @@
|
||||
# Maintainer: Julien Nicoulaud <julien DOT nicoulaud AT gmail DOT com>
|
||||
|
||||
_pkgname=pystray
|
||||
pkgbase="python-${_pkgname}"
|
||||
pkgname=("python-${_pkgname}" "python2-${_pkgname}")
|
||||
pkgver=0.14.4
|
||||
pkgrel=1
|
||||
arch=(any)
|
||||
license=('GPL')
|
||||
pkgdesc="Provides systray integration."
|
||||
url="https://github.com/moses-palmer/pystray"
|
||||
makedepends=('python' 'python2' 'python-setuptools' 'python2-setuptools')
|
||||
source=("https://github.com/moses-palmer/${_pkgname}/archive/v${pkgver}.tar.gz")
|
||||
sha512sums=('8c0da713ce5314137015d23c156de22054a44d4720be36a41ad1917bc694ffaed0b254b9473f67a26bf630e12d7fa71744410723927318280768efcfb752cd81')
|
||||
|
||||
prepare() {
|
||||
cp -a ${_pkgname}-${pkgver}{,-py2}
|
||||
}
|
||||
|
||||
package_python-pystray() {
|
||||
cd ${_pkgname}-$pkgver
|
||||
python setup.py install --root="$pkgdir" --optimize=1
|
||||
}
|
||||
|
||||
package_python2-pystray() {
|
||||
cd ${_pkgname}-$pkgver-py2
|
||||
python2 setup.py install --root="$pkgdir" --optimize=1
|
||||
}
|
Reference in New Issue
Block a user