diff options
author | André Klitzing | 2021-12-14 09:32:48 +0100 |
---|---|---|
committer | André Klitzing | 2021-12-14 09:32:48 +0100 |
commit | 784c74be6c20b1980d213d7c7d1e80f68bfa60bd (patch) | |
tree | 9cb7764729ecec0a13e9a1cf7a4bc47f8034c5fc | |
parent | 621c717fb442d499700d79b0ce6104fbf1a0c63c (diff) | |
download | aur-784c74be6c20b1980d213d7c7d1e80f68bfa60bd.tar.gz |
Use wildcard for python version
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 8 |
2 files changed, 5 insertions, 5 deletions
@@ -1,7 +1,7 @@ pkgbase = tortoisehg pkgdesc = Graphical tools for Mercurial pkgver = 6.0 - pkgrel = 2 + pkgrel = 3 url = https://foss.heptapod.net/mercurial/tortoisehg/thg arch = any license = GPL @@ -5,7 +5,7 @@ # AUR Category: devel pkgname=tortoisehg pkgver=6.0 -pkgrel=2 +pkgrel=3 #_pkgchangeset=1605d6fba195f02c0c689fe4aff5d7160aa2b15d pkgdesc="Graphical tools for Mercurial" url="https://foss.heptapod.net/mercurial/tortoisehg/thg" @@ -36,9 +36,9 @@ package() { install -Dm 644 "icons/svg/thg_logo.svg" "${pkgdir}/usr/share/pixmaps/thg_logo.svg" # already provided by hg - rm -f "${pkgdir}/usr/lib/python3.10/site-packages/hgext3rd/__init__.py" - rm -f "${pkgdir}/usr/lib/python3.10/site-packages/hgext3rd/__init__.pyc" - rm -rf "${pkgdir}/usr/lib/python3.10/site-packages/hgext3rd/__pycache__/" + rm -f "${pkgdir}/usr/lib/python*/site-packages/hgext3rd/__init__.py" + rm -f "${pkgdir}/usr/lib/python*/site-packages/hgext3rd/__init__.pyc" + rm -rf "${pkgdir}/usr/lib/python*/site-packages/hgext3rd/__pycache__/" } sha256sums=('db9b90da5945ffec2a746a6e9ff9f396f01fdbce8e2119a5654212674b331fa6') |