main/gigolo: add simple check

Add a simple test as upstream doesn't provide a test suite.
This commit is contained in:
Roberto Oliveira 2018-02-14 14:30:12 +00:00 committed by Timo Teräs
parent 82717233a1
commit d02f49aa44

View File

@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gigolo
pkgver=0.4.2
pkgrel=0
pkgrel=1
pkgdesc="GIO/GVFS management application"
url="http://www.uvena.de/gigolo/"
license="GPL-2.0"
@ -11,7 +11,7 @@ makedepends="gtk+-dev python2"
subpackages="$pkgname-doc $pkgname-lang"
source="http://archive.xfce.org/src/apps/gigolo/${pkgver%.*}/gigolo-$pkgver.tar.bz2"
builddir="$srcdir"/$pkgname-$pkgver
builddir="$srcdir/$pkgname-$pkgver"
build() {
cd "$builddir"
@ -23,6 +23,11 @@ build() {
make
}
check() {
cd "$builddir"
./src/gigolo --help > /dev/null
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install