Balló György pushed to branch main at Arch Linux / Packaging / Packages / tlpui
Commits:
ea001770 by Balló György at 2026-07-17T23:09:06+02:00
upgpkg: 2:1.10.1-2: Install metainfo file
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
pkgbase = tlpui
pkgdesc = A GTK user interface for TLP written in Python
pkgver = 1.10.1
- pkgrel = 1
+ pkgrel = 2
epoch = 2
url = https://github.com/d4nj1/TLPUI
arch = any
=====================================
PKGBUILD
=====================================
@@ -8,7 +8,7 @@
pkgname=tlpui
_srcname=TLPUI
pkgver=1.10.1
-pkgrel=1
+pkgrel=2
epoch=2
pkgdesc="A GTK user interface for TLP written in Python"
arch=('any')
@@ -20,6 +20,12 @@ checkdepends=('python-pytest')
source=("${url}/archive/${pkgname}-${pkgver}.tar.gz")
sha256sums=('041b92149fdbc9e582857c386ac4d2800fb74535a16a8feb4f59398e96f554cc')
+prepare() {
+ cd "${_srcname}-${pkgname}-${pkgver}/"
+ # Fix launchable ID in metainfo file
+ sed -i 's/com.github.d4nj1.tlpui.desktop/tlpui.desktop/'
AppImage/com.github.d4nj1.tlpui.appdata.xml
+}
+
build() {
cd "${_srcname}-${pkgname}-${pkgver}/"
python -m build --wheel --no-isolation
@@ -35,6 +41,7 @@ package() {
python -m installer --destdir="${pkgdir}" dist/*.whl
install -Dm644 "${pkgname}.desktop" -t
"${pkgdir}/usr/share/applications/"
+ install -Dm644 AppImage/com.github.d4nj1.tlpui.appdata.xml -t
"${pkgdir}/usr/share/metainfo/"
cd "${pkgname}/icons/themeable/hicolor/"
for i in 16 32 48 64 96 128 256; do
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/tlpui/-/commit/ea0017701917af73f092fd75c7b2ca7fee19d875
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/tlpui/-/commit/ea0017701917af73f092fd75c7b2ca7fee19d875
You're receiving this email because of your account on gitlab.archlinux.org.
Manage all notifications: https://gitlab.archlinux.org/-/profile/notifications
| Help: https://gitlab.archlinux.org/help