diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-02-11 00:04:42 -0600 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2018-02-17 13:39:55 +0000 |
commit | 1cd3c746a717bdbcdf88d13969c62a6316afa19e (patch) | |
tree | 0f33f11d5cb2986d6f3b63b765abd094a8e9d6ae /main/libverto | |
parent | 1ed613f34f618667d90240d72e435766a9f88f6f (diff) | |
download | aports-1cd3c746a717bdbcdf88d13969c62a6316afa19e.tar.bz2 aports-1cd3c746a717bdbcdf88d13969c62a6316afa19e.tar.xz |
main/libverto: modernise, add check
Diffstat (limited to 'main/libverto')
-rw-r--r-- | main/libverto/APKBUILD | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/main/libverto/APKBUILD b/main/libverto/APKBUILD index 65d78fbc51..72b9561598 100644 --- a/main/libverto/APKBUILD +++ b/main/libverto/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Francesco Colista <fcolista@alpinelinux.org> pkgname=libverto pkgver=0.3.0 -pkgrel=0 +pkgrel=1 pkgdesc="Main loop abstraction library" url="https://github.com/npmccallum/libverto" arch="all" @@ -26,14 +26,18 @@ build() { --host=$CHOST \ --prefix=/usr \ --with-libev \ - --with-libevent \ - || return 1 - make || return 1 + --with-libevent + make +} + +check() { + cd "$builddir" + make check } package() { cd "$builddir" - make DESTDIR="$pkgdir" install || return 1 + make DESTDIR="$pkgdir" install } _mv_backend() { |