diff options
-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" } |