diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -3,8 +3,8 @@ pkgname=python-wakeonlan _pkg="${pkgname#python-}" -pkgver=2.1.0 -pkgrel=2 +pkgver=3.0.0 +pkgrel=1 pkgdesc='Wake on LAN Python module' url="https://github.com/remcohaszing/pywakeonlan" arch=('any') @@ -12,7 +12,7 @@ license=('MIT') depends=('python') makedepends=('python-build' 'python-installer' 'python-poetry-core') source=("$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/w/$_pkg/$_pkg-$pkgver.tar.gz") -sha256sums=('c9deddcdf72256dd31f884b1c971c6d6af97730df2d33782cca8a9d3c28f2080') +sha256sums=('9a2a7cede51e2d4777330592190ea6e8ba391513d74e6f91d3197669cac7c754') build() { cd "$_pkg-$pkgver" @@ -21,8 +21,8 @@ build() { package() { cd "$_pkg-$pkgver" - PYTHONHASHSEED=0 python -m installer --destdir="$pkgdir" dist/*.whl + python -m installer --destdir="$pkgdir" dist/*.whl local _site="$(python -c 'import site; print(site.getsitepackages()[0])')" - install -d "$pkgdir/usr/share/licenses/$pkgname/" - ln -s "$_site/$_pkg-$pkgver.dist-info/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/" + install -dv "$pkgdir/usr/share/licenses/$pkgname/" + ln -sv "$_site/$_pkg-$pkgver.dist-info/LICENSE.rst" "$pkgdir/usr/share/licenses/$pkgname/" } |