aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testing/x2goserver/APKBUILD22
1 files changed, 11 insertions, 11 deletions
diff --git a/testing/x2goserver/APKBUILD b/testing/x2goserver/APKBUILD
index fdf0d65b0b..75b009917e 100644
--- a/testing/x2goserver/APKBUILD
+++ b/testing/x2goserver/APKBUILD
@@ -1,9 +1,9 @@
# Contributor: Jeff Bilyk <jbilyk@gmail.com>
# Contributor: Jean-Charles de Longueville <jch@hellea.eu>
-# Maintainer:
+# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=x2goserver
pkgver=4.0.1.19
-pkgrel=1
+pkgrel=2
pkgdesc=" X2Go enables you to access a graphical desktop of a computer over a low bandwidth (or high bandwidth) connection. "
url="http://x2go.org"
arch="all"
@@ -17,24 +17,24 @@ source="http://code.x2go.org/releases/source/$pkgname/$pkgname-$pkgver.tar.gz"
pkgusers="x2gouser"
pkggroups="x2gouser"
-_builddir="$srcdir"/$pkgname-$pkgver
+builddir="$srcdir"/$pkgname-$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
+ local dir
+ cd "$builddir"
+ for dir in x2goserver*; do
+ if [ -d $dir ]; then
+ sed -i -e "s/^build-indep:.*/build-indep: /g" $dir/Makefile
+ fi
done
}
build() {
- cd "$_builddir"
+ cd "$builddir"
make PREFIX=/usr || return 1
}
package() {
- cd "$_builddir"
+ cd "$builddir"
make DESTDIR="$pkgdir" PREFIX=/usr install || return 1
}