diff options
author | Andrey Anshin | 2024-05-05 13:24:21 +0400 |
---|---|---|
committer | Andrey Anshin | 2024-05-05 13:24:21 +0400 |
commit | 4b7cfc872faf503f83556a5ed006c9d21c2d6631 (patch) | |
tree | 8661a0bf363598d601c5bc33f8fc1779042cc853 | |
parent | 79298660909e10b2e78cc0659ff30c46ab4e3197 (diff) | |
download | aur-4b7cfc872faf503f83556a5ed006c9d21c2d6631.tar.gz |
discover-overlay 0.7.4
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 13 |
2 files changed, 11 insertions, 8 deletions
@@ -1,6 +1,6 @@ pkgbase = discover-overlay pkgdesc = Yet another Discord overlay for Linux written in Python using GTK3 - pkgver = 0.7.3 + pkgver = 0.7.4 pkgrel = 1 url = https://github.com/trigg/Discover arch = x86_64 @@ -22,7 +22,7 @@ pkgbase = discover-overlay optdepends = gtk-layer-shell: Wayland support provides = discover-overlay conflicts = discover-overlay-git - source = discover-overlay-0.7.3.tar.gz::https://files.pythonhosted.org/packages/source/d/discover-overlay/discover-overlay-0.7.3.tar.gz - sha512sums = 67f86869f1bb845b9a35c56a98084ceaef359656aa689246863d37e5bb2ab231870fa3d3e53f3158ea64a8fd47353ea5429c420fdf3bcca8e5698d4d606781ba + source = discover-overlay-0.7.4.tar.gz::https://files.pythonhosted.org/packages/source/d/discover-overlay/discover_overlay-0.7.4.tar.gz + sha512sums = 33d39b864d257073262437517fedc0ca23e0c1a3e06f6c96a03dd114b441a34c92c985291bc588926aab91d7ff999de0c8dcf2757d282be7089b1ea95724e8aa pkgname = discover-overlay @@ -2,7 +2,8 @@ pkgname=discover-overlay _name=${pkgname#python-} -pkgver=0.7.3 +_pep625_name=${_name//-/_} +pkgver=0.7.4 pkgrel=1 pkgdesc="Yet another Discord overlay for Linux written in Python using GTK3" arch=("x86_64") @@ -29,16 +30,18 @@ depends=( conflicts=("discover-overlay-git") provides=("discover-overlay") optdepends=("gtk-layer-shell: Wayland support") -source=("${pkgname}-${pkgver}.tar.gz::https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz") -sha512sums=("67f86869f1bb845b9a35c56a98084ceaef359656aa689246863d37e5bb2ab231870fa3d3e53f3158ea64a8fd47353ea5429c420fdf3bcca8e5698d4d606781ba") +# Since discover-overlay==0.7.4 package name follow PEP-625, +# as result `-` (hyphen) should be replaced by `_` (underscore) in distribution sdist file. +source=("${pkgname}-${pkgver}.tar.gz::https://files.pythonhosted.org/packages/source/${_name::1}/$_name/${_pep625_name}-$pkgver.tar.gz") +sha512sums=("33d39b864d257073262437517fedc0ca23e0c1a3e06f6c96a03dd114b441a34c92c985291bc588926aab91d7ff999de0c8dcf2757d282be7089b1ea95724e8aa") build() { - cd ${pkgname}-${pkgver} + cd ${_pep625_name}-${pkgver} python -m build --wheel --no-isolation } package() { - cd ${pkgname}-${pkgver} + cd ${_pep625_name}-${pkgver} python -m installer --destdir="${pkgdir}" dist/*.whl install -D -m644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md" |