aboutsummaryrefslogtreecommitdiffstats
path: root/main/libvncserver
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2017-09-25 16:57:47 -0500
committerTimo Teräs <timo.teras@iki.fi>2017-09-26 05:32:23 +0000
commit38cb28fb7871abeb44c96665b14c196b4330ec91 (patch)
tree7026285f6025bec4d59f86e4ba59b3dfd31fb639 /main/libvncserver
parent5df55afaa9bd286dce056cef4d041b8446c83d34 (diff)
downloadaports-38cb28fb7871abeb44c96665b14c196b4330ec91.tar.bz2
aports-38cb28fb7871abeb44c96665b14c196b4330ec91.tar.xz
main/libvncserver: modernise, take maintainership, add test suite
Diffstat (limited to 'main/libvncserver')
-rw-r--r--main/libvncserver/APKBUILD24
1 files changed, 12 insertions, 12 deletions
diff --git a/main/libvncserver/APKBUILD b/main/libvncserver/APKBUILD
index 33569e3adb..6851a8c44e 100644
--- a/main/libvncserver/APKBUILD
+++ b/main/libvncserver/APKBUILD
@@ -1,9 +1,9 @@
# Contributor: Sergei Lukin <sergej.lukin@gmail.com>
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
-# Maintainer:
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=libvncserver
pkgver=0.9.11
-pkgrel=0
+pkgrel=1
pkgdesc="Library to make writing a vnc server easy"
url="http://libvncserver.sourceforge.net/"
arch="all"
@@ -24,13 +24,8 @@ source="https://github.com/LibVNC/libvncserver/archive/LibVNCServer-$pkgver.tar.
builddir="$srcdir"/libvncserver-LibVNCServer-$pkgver
prepare() {
- local i
cd "$builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
+ default_prepare
./autogen.sh
}
@@ -40,14 +35,19 @@ build() {
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
- --disable-static \
- || return 1
- make || return 1
+ --disable-static
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+ test/tjunittest
}
package() {
cd "$builddir"
- make install DESTDIR="$pkgdir" || return 1
+ make install DESTDIR="$pkgdir"
}
md5sums="7f06104d5c009813e95142932c4ddb06 LibVNCServer-0.9.11.tar.gz"