diff --git a/PKGBUILD b/PKGBUILD index 7b460b4..97d33ba 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -3,7 +3,7 @@ # Maintainer: Daniele Fucini pkgname=update-notify -pkgver=3.12 +pkgver=3.13 pkgrel=1 pkgdesc='Notify when updates are available' arch=('any') @@ -12,12 +12,21 @@ license=('GPL-3.0-or-later') depends=('pacman-contrib' 'libnotify') makedepends=('git') +checkdepends=('bats' + 'bats-assert' + 'bats-support') optdepends=('aurutils: to check AUR packages in the local repo for updates' 'fwupd: to check for firmware updates' 'git-monitor: to check git repos for updates') source=("git+$url?signed#tag=$pkgver") validpgpkeys=('7E12BC1FF3B6EDB2CD8053EB981A2B2A3BBF5514') -sha256sums=('f8200d02a386475062c5e6895b6a19135e7523ca2e0961e0f9891e5f32e69356') +sha256sums=('56bfe7f4a8f8d5c311fe6c7c07f01614111e5c899043d038ce0a1c11362b4a71') + +check() +{ + cd "$srcdir"/"$pkgname" + bats tests +} package() {