mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 18:42:12 +08:00
34 lines
996 B
Bash
34 lines
996 B
Bash
pkgname=x2goclient
|
|
pkgver=4.0.5.0
|
|
pkgrel=2
|
|
pkgdesc="a graphical client (Qt4) for the X2Go system"
|
|
arch=('x86_64')
|
|
license=('GPL2')
|
|
url="http://www.x2go.org"
|
|
depends=('qt' 'libldap' 'libcups' 'nxproxy' 'libssh' 'libxpm' 'hicolor-icon-theme' 'xdg-utils')
|
|
makedepends=('man2html')
|
|
install=x2goclient.install
|
|
source=(http://code.x2go.org/releases/source/${pkgname}/${pkgname}-${pkgver}.tar.gz)
|
|
sha1sums=('7ab3ed4300ae740e3583391024ea7dacec94c03c')
|
|
|
|
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
|
|
}
|