mirror of
https://github.com/archlinux/aur.git
synced 2026-02-10 06:54:23 +01:00
add check function
This commit is contained in:
parent
997c43f134
commit
2124f2c1a2
2 changed files with 8 additions and 2 deletions
2
.SRCINFO
2
.SRCINFO
|
|
@ -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
|
||||
|
|
|
|||
8
PKGBUILD
8
PKGBUILD
|
|
@ -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"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue