diff options
author | Mark Wagie | 2021-10-07 12:09:46 -0600 |
---|---|---|
committer | Mark Wagie | 2021-10-07 12:09:46 -0600 |
commit | 1ac4c9da55f592c09bce64e1452849d46554171d (patch) | |
tree | 7afd08e731e7cd0d5fdf0953d382a2559caf5284 | |
parent | e6cad1bf46c94359047716df5d9d848bc4b6c279 (diff) | |
download | aur-1ac4c9da55f592c09bce64e1452849d46554171d.tar.gz |
add tests
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 17 |
2 files changed, 15 insertions, 6 deletions
@@ -1,14 +1,16 @@ pkgbase = warpinator-git pkgdesc = Share files across the LAN - pkgver = 1.2.4.r2.g90efc18 + pkgver = 1.2.4.r9.gc55eadc pkgrel = 1 url = https://github.com/linuxmint/warpinator arch = any license = GPL3 + checkdepends = appstream makedepends = git makedepends = meson makedepends = polkit depends = gtk3 + depends = lshw depends = python-cryptography depends = python-gobject depends = python-grpcio @@ -1,16 +1,18 @@ # Maintainer: Mark Wagie <mark dot wagie at tutanota dot com> # Contributor: Kyle Laker <kyle@laker.email> pkgname=warpinator-git -pkgver=1.2.4.r2.g90efc18 +_desktop_id=org.x.Warpinator +pkgver=1.2.4.r9.gc55eadc pkgrel=1 pkgdesc="Share files across the LAN" arch=('any') url="https://github.com/linuxmint/warpinator" license=('GPL3') -depends=('gtk3' 'python-cryptography' 'python-gobject' 'python-grpcio' +depends=('gtk3' 'lshw' 'python-cryptography' 'python-gobject' 'python-grpcio' 'python-netaddr' 'python-netifaces' 'python-protobuf' 'python-pynacl' 'python-setproctitle' 'python-setuptools' 'python-zeroconf' 'python-xapp' 'xapps') makedepends=('git' 'meson' 'polkit') +checkdepends=('appstream') optdepends=('ufw: Configure firewall rules') provides=("${pkgname%-git}") conflicts=("${pkgname%-git}") @@ -38,11 +40,16 @@ build() { meson compile -C build } + +check() { + # No tests defined -#check() { # meson test -C build --print-errorlogs -#} + + desktop-file-validate build/data/${_desktop_id}.desktop + appstreamcli validate build/data/${_desktop_id}.appdata.xml +} package() { - DESTDIR="$pkgdir" meson install -C build + meson install -C build --destdir "$pkgdir" } |