diff options
author | Roberto Oliveira <robertoguimaraes8@gmail.com> | 2018-02-14 14:30:12 +0000 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2018-02-14 18:21:25 +0000 |
commit | d02f49aa440bb27f2f597f99ad35606981866d40 (patch) | |
tree | fec6c9ef4b898dcd89e67ea589ce90009a3943d6 /main/gigolo | |
parent | 82717233a1a81e9f7deca311a8f17fa638b2487d (diff) | |
download | aports-d02f49aa440bb27f2f597f99ad35606981866d40.tar.bz2 aports-d02f49aa440bb27f2f597f99ad35606981866d40.tar.xz |
main/gigolo: add simple check
Add a simple test as upstream doesn't provide a test suite.
Diffstat (limited to 'main/gigolo')
-rw-r--r-- | main/gigolo/APKBUILD | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/main/gigolo/APKBUILD b/main/gigolo/APKBUILD index 8b3dcae21f..d403dead11 100644 --- a/main/gigolo/APKBUILD +++ b/main/gigolo/APKBUILD @@ -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 |