# Contributor: Jeff Bilyk # Contributor: Jean-Charles de Longueville # Maintainer: Francesco Colista setvar pkgname = 'x2goserver' setvar pkgver = '4.0.1.20' setvar pkgrel = '1' setvar pkgdesc = "" X2Go enables you to access a graphical desktop of a computer over a low bandwidth (or high bandwidth) connection."" setvar url = ""http://x2go.org"" setvar arch = ""all"" setvar license = ""GPL2+"" setvar options = ""suid"" setvar depends = ""perl perl-config-simple perl-dbi perl-file-readbackwards perl-capture-tiny perl-dbd-sqlite bash iproute2 makepasswd openssh lsof xauth perl-file-basedir mcookie nx-libs perl-file-which"" setvar makedepends = ""libssh2-dev python2-dev man"" setvar install = ""$pkgname.pre-install $pkgname.post-install"" setvar subpackages = ""$pkgname-doc"" setvar source = ""http://code.x2go.org/releases/source/$pkgname/$pkgname-$pkgver.tar.gz $pkgname.initd xsession-alpine-support.patch"" setvar pkgusers = ""x2gouser"" setvar pkggroups = ""x2gouser"" setvar builddir = ""$srcdir"/$pkgname-$pkgver" proc check { cd $builddir # check or test is not implemented in make return 0 } proc prepare { local dir cd $builddir for dir in x2goserver* { if test -d $dir { sed -i -e "s/^build-indep:.*/build-indep: /g" $dir/Makefile } } default_prepare } proc build { cd $builddir make PREFIX=/usr || return 1 } proc package { cd $builddir make DESTDIR="$pkgdir" PREFIX=/usr install || return 1 install -Dm 755 "$srcdir/${pkgname}.initd" "$pkgdir/etc/init.d/$pkgname" } setvar sha512sums = ""21f3a415c50bf78e4c044c5b77f8478a307e4b3cef990edd415d9e7479f48fbc1c051e9f7c16a5d1f30726f4f2a812fb367eecb0a073bfba1ea2c6173c71fe54 x2goserver-4.0.1.20.tar.gz 1784894c3f04abbb626bf8178dc6c8383a0d2883eb168cb805e707581d547584ac8eb767155153ee7d50d2192b757fa8c71e40fa9393c8df39e3cda94e05b7b4 x2goserver.initd 1c73bdf9e1b040cb74c762427380f1758cd6c3a7e869e1331cf33acf14a5dcc2d223d594e1aa7d98545afaee44aa7353c3a1a9a95683a6b8d450602eec58cc0f xsession-alpine-support.patch""