summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD9
1 files changed, 8 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 7ec23c62cd5..43163b669f1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Contributor: Dave Reisner <d@falconindy.com>
pkgname=pkgfile-git
-pkgver=18.2.g6e6150d
+pkgver=21
pkgrel=1
pkgdesc="a pacman .files metadata explorer"
arch=('x86_64' 'i686')
@@ -9,6 +9,7 @@ url="http://github.com/falconindy/pkgfile"
license=('MIT')
depends=('libarchive' 'curl' 'pcre' 'pacman')
makedepends=('git' 'perl' 'meson')
+checkdepends=('python' 'gtest' 'gmock')
conflicts=('pkgfile')
provides=('pkgfile')
install=pkgfile.install
@@ -28,6 +29,12 @@ build() {
ninja -C build
}
+check() {
+ cd pkgfile
+
+ meson test -C build
+}
+
package() {
cd pkgfile