diff options
author | Slithery | 2015-12-19 23:11:22 +0000 |
---|---|---|
committer | Slithery | 2015-12-19 23:11:22 +0000 |
commit | aa66b0e8e9e01537f99c5f9b65471c35614f15fa (patch) | |
tree | 1e3df12158160876d37779169888547985175a41 | |
download | aur-aa66b0e8e9e01537f99c5f9b65471c35614f15fa.tar.gz |
initial commit
-rw-r--r-- | .SRCINFO | 19 | ||||
-rw-r--r-- | PKGBUILD | 27 |
2 files changed, 46 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..55f5612e2f82 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,19 @@ +# Generated by mksrcinfo v8 +# Sat Dec 19 23:10:24 UTC 2015 +pkgbase = python-py3sensors-hg + pkgdesc = Python bindings for libsensors.so from the lm-sensors project + pkgver = r15.0cf96f4e2cfe + pkgrel = 1 + url = https://bitbucket.org/gleb_zhulik/py3sensors + arch = any + license = GPL + makedepends = mercurial + depends = python + depends = lm_sensors + provides = python-py3sensors + options = !emptydirs + source = python-py3sensors-hg::hg+https://bitbucket.org/gleb_zhulik/py3sensors + sha256sums = SKIP + +pkgname = python-py3sensors-hg + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..e7e1d6950f4a --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Slithery <aur at slithery dot uk> +pkgname=python-py3sensors-hg +pkgver=r15.0cf96f4e2cfe +pkgrel=1 +pkgdesc=('Python bindings for libsensors.so from the lm-sensors project') +arch=('any') +url=('https://bitbucket.org/gleb_zhulik/py3sensors') +license=('GPL') +depends=('python' 'lm_sensors') +makedepends=('mercurial') +provides=('python-py3sensors') +conflicts=() +replaces=() +backup=() +options=(!emptydirs) +source=("$pkgname"::hg+"$url") +sha256sums=('SKIP') + +pkgver() { + cd "$pkgname" + printf "r%s.%s" "$(hg identify -n)" "$(hg identify -i)" +} + +package() { + cd "$srcdir/$pkgname" + python setup.py install --root="$pkgdir/" --optimize=1 +} |