desktop/x2goclient/PKGBUILD

34 lines
996 B
Bash
Raw Normal View History

2014-05-30 23:23:11 +08:00
pkgname=x2goclient
2016-11-25 07:27:28 +08:00
pkgver=4.0.5.2
pkgrel=1
2015-10-04 21:50:41 +08:00
pkgdesc="a graphical client (Qt4) for the X2Go system"
2014-05-30 23:23:11 +08:00
arch=('x86_64')
license=('GPL2')
url="http://www.x2go.org"
depends=('qt' 'libldap' 'libcups' 'nxproxy' 'libssh' 'libxpm' 'hicolor-icon-theme' 'xdg-utils')
2014-06-02 05:15:50 +08:00
makedepends=('man2html')
2014-05-30 23:23:11 +08:00
install=x2goclient.install
source=(http://code.x2go.org/releases/source/${pkgname}/${pkgname}-${pkgver}.tar.gz)
2016-11-25 07:27:28 +08:00
sha1sums=('350012ecf5bed14073c8a3545bf783f015f061ca')
2014-05-30 23:23:11 +08:00
build() {
cd ${pkgname}-${pkgver}
sed -i "s:-o root -g root ::" Makefile
sed -i "s/qmake-qt4/qmake/" config_linux.sh
sed -i "s/qmake-qt4/qmake/" config_linux_plugin.sh
sed -i "s/qmake-qt4/qmake/" Makefile
sed -i "s/lrelease-qt4/lrelease/" Makefile
#make PREFIX=/usr
#make PREFIX=/usr build_man # target broken and making the build hang
make PREFIX=/usr build_pluginprovider
make PREFIX=/usr build_client
make PREFIX=/usr build_plugin
}
package() {
cd ${pkgname}-${pkgver}
make PREFIX=/usr DESTDIR="$pkgdir" install
2015-10-04 21:50:41 +08:00
}