summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8e997b517b9b11ea34cba85b883fe51814f0478b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Maintainer: eolianoe <eolianoe [at] gmail [DoT] com>
# Contributor: Markus Opitz <mastero23 at gmail dot com>

_gitname=x2goclient
pkgname=${_gitname}-git
pkgver=4.0.5.1.r16.g128d498
pkgrel=1
pkgdesc="x2go qt4 client"
arch=('i686' 'x86_64')
url="http://www.x2go.org/"
license=('GPL')
makedepends=('git')
depends=('qt4' 'libldap' 'libcups' 'nxproxy' 'libssh' 'libxpm' 'hicolor-icon-theme')
conflicts=('x2goclient')
provides=('x2goclient')
source=("git://code.x2go.org/${_gitname}.git")
sha256sums=('SKIP')

prepare(){
  cd "${srcdir}/${_gitname}"

  sed -i "s:-o root -g root ::" Makefile
}

pkgver(){
  cd "${srcdir}/${_gitname}"

  git describe --long --tags | sed -r 's/([^-]*-g)/r\1/;s/-/./g'
}

build(){
  cd "${srcdir}/${_gitname}"

  make
}

package(){
  cd "${srcdir}/${_gitname}"

  make PREFIX=/usr DESTDIR="${pkgdir}" install
}