Update PKGBUILD
Bump to 0.4.1 and run the test suite in check().
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
# Maintainer: Daniele Fucini <dfucini [at] gmail [dot] com>
|
# Maintainer: Daniele Fucini <dfucini [at] gmail [dot] com>
|
||||||
|
|
||||||
pkgname=xidle-inhibit
|
pkgname=xidle-inhibit
|
||||||
pkgver=0.4
|
pkgver=0.4.1
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc='Honor org.freedesktop.ScreenSaver inhibit requests by blocking xautolock or xss-lock'
|
pkgdesc='Honor org.freedesktop.ScreenSaver inhibit requests by blocking xautolock or xss-lock'
|
||||||
arch=('any')
|
arch=('any')
|
||||||
@@ -16,11 +16,19 @@ depends=('libx11'
|
|||||||
optdepends=('xautolock: xautolock backend'
|
optdepends=('xautolock: xautolock backend'
|
||||||
'xss-lock: xss-lock backend')
|
'xss-lock: xss-lock backend')
|
||||||
makedepends=('git')
|
makedepends=('git')
|
||||||
|
checkdepends=('dbus'
|
||||||
|
'python-pytest')
|
||||||
conflicts=('xautolock-inhibit')
|
conflicts=('xautolock-inhibit')
|
||||||
replaces=('xautolock-inhibit')
|
replaces=('xautolock-inhibit')
|
||||||
source=("git+$url?signed#tag=$pkgver")
|
source=("git+$url?signed#tag=$pkgver")
|
||||||
validpgpkeys=('7E12BC1FF3B6EDB2CD8053EB981A2B2A3BBF5514')
|
validpgpkeys=('7E12BC1FF3B6EDB2CD8053EB981A2B2A3BBF5514')
|
||||||
sha256sums=('fcc12e899f80b596d854049704b1b2c0293bf73b61f837b26660622044a7b877')
|
sha256sums=('3ef1d0547e272047d89240eb89a3a42478d08963bf08ac44536c65807f3b248a')
|
||||||
|
|
||||||
|
check()
|
||||||
|
{
|
||||||
|
cd "$srcdir"/"$pkgname"
|
||||||
|
pytest -p no:cacheprovider
|
||||||
|
}
|
||||||
|
|
||||||
package()
|
package()
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user