summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMichel Zou2018-03-04 08:44:04 +0100
committerMichel Zou2018-03-04 08:44:04 +0100
commitb0647375c868899e0f51e2efa932295252d97471 (patch)
tree2461ca65d1e24f73acb14e56d6a922bfdf867646 /PKGBUILD
parentbacc9bde4d2710d1e9aacc60d469ea2a48df2fe6 (diff)
downloadaur-b0647375c868899e0f51e2efa932295252d97471.tar.gz
1.0.0
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD12
1 files changed, 6 insertions, 6 deletions
diff --git a/PKGBUILD b/PKGBUILD
index bf28545db1c..5de53fd0df0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,14 +1,14 @@
pkgbase=python-wakeonlan
pkgname=('python-wakeonlan' 'python2-wakeonlan')
-pkgver=0.2.2
+pkgver=1.0.0
pkgrel=1
pkgdesc="A small python module for wake on lan"
url="https://github.com/remcohaszing/pywakeonlan"
arch=(any)
license=('WTFPL')
makedepends=('python-setuptools' 'python2-setuptools')
-source=("https://pypi.python.org/packages/26/87/4164f76446fb372ce9ff10f9458ac00dade098ef054772ab3333139e8cfa/wakeonlan-0.2.2.tar.gz")
-md5sums=('738cf2e3c01de8ff393d0863f5172383')
+source=("https://pypi.io/packages/source/w/wakeonlan/wakeonlan-${pkgver}.tar.gz")
+md5sums=('91e0c97210875915af88ccb9103c866d')
prepare() {
cd "${srcdir}"/wakeonlan-$pkgver
@@ -28,14 +28,14 @@ package_python-wakeonlan() {
depends=('python')
cd "${srcdir}/wakeonlan-$pkgver"
- python setup.py install --root=${pkgdir} --optimize=1
+ python setup.py install --root="${pkgdir}" --optimize=1
}
package_python2-wakeonlan() {
depends=('python2')
cd "${srcdir}/wakeonlan-$pkgver"
- python2 setup.py install --root=${pkgdir} --optimize=1
- mv ${pkgdir}/usr/bin/wol ${pkgdir}/usr/bin/wol2
+ python2 setup.py install --root="${pkgdir}" --optimize=1
+ mv "${pkgdir}"/usr/bin/wakeonlan "${pkgdir}"/usr/bin/wakeonlan2
}