add check function

This commit is contained in:
Mark Wagie 2026-02-09 16:37:54 -07:00
parent 997c43f134
commit 2124f2c1a2
2 changed files with 8 additions and 2 deletions

View file

@ -1,7 +1,7 @@
pkgbase = appmanager
pkgdesc = MacOS style AppImage installer and management application
pkgver = 3.1.1
pkgrel = 1
pkgrel = 2
url = https://github.com/kem-a/AppManager
arch = x86_64
license = GPL-3.0-or-later

View file

@ -1,7 +1,8 @@
# Maintainer: Mark Wagie <mark dot wagie at proton dot me>
pkgname=appmanager
_app_id=com.github.AppManager
pkgver=3.1.1
pkgrel=1
pkgrel=2
pkgdesc="MacOS style AppImage installer and management application"
arch=('x86_64')
url="https://github.com/kem-a/AppManager"
@ -32,6 +33,11 @@ build() {
meson compile -C build
}
check() {
appstreamcli validate --no-net "AppManager-$pkgver/data/${_app_id}.metainfo.xml" || :
desktop-file-validate "build/data/${_app_id}.desktop"
}
package() {
meson install -C build --no-rebuild --destdir "$pkgdir"