summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFranck STAUFFER2020-08-11 08:45:45 +0200
committerFranck STAUFFER2020-08-11 08:45:45 +0200
commit4a76c8a62aea0a5b5adeaad3b5e3639ae839bf7c (patch)
tree5bbf202f292780214bbf4d1cc95153c1bfee5178
parent8949fb2cd1417f0c47b9998a5ea39669ad5591d4 (diff)
downloadaur-4a76c8a62aea0a5b5adeaad3b5e3639ae839bf7c.tar.gz
Add check()
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD6
2 files changed, 6 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 1fe0a8d0bdd..9e03b13edd8 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = firefox-extension-cookie-autodelete
pkgdesc = Firefox extension that automatically deletes cookies.
pkgver = 3.4.0
- pkgrel = 3
+ pkgrel = 4
url = https://github.com/Cookie-AutoDelete/Cookie-AutoDelete
arch = any
license = MIT
diff --git a/PKGBUILD b/PKGBUILD
index f7f49f518f2..6eebc58c8e9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname='firefox-extension-cookie-autodelete'
pkgver=3.4.0
-pkgrel=3
+pkgrel=4
pkgdesc="Firefox extension that automatically deletes cookies."
license=('MIT')
arch=('any')
@@ -26,6 +26,10 @@ build() {
npm --silent -C "Cookie-AutoDelete-$pkgver" run build
}
+check() {
+ npm --silent -C "Cookie-AutoDelete-$pkgver" test
+}
+
package() {
cd "Cookie-AutoDelete-$pkgver"
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"