diff options
author | Franck STAUFFER | 2020-08-11 08:45:45 +0200 |
---|---|---|
committer | Franck STAUFFER | 2020-08-11 08:45:45 +0200 |
commit | 4a76c8a62aea0a5b5adeaad3b5e3639ae839bf7c (patch) | |
tree | 5bbf202f292780214bbf4d1cc95153c1bfee5178 /PKGBUILD | |
parent | 8949fb2cd1417f0c47b9998a5ea39669ad5591d4 (diff) | |
download | aur-4a76c8a62aea0a5b5adeaad3b5e3639ae839bf7c.tar.gz |
Add check()
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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" |