summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 707679a07a7a88ee201a9f10a4c62a4db087c98d (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
# Maintainer: Stefan Mark <mark at unserver dot de>

pkgname=nxpolkit-git
_pkgname=nxpolkit
pkgver=0.99
pkgrel=1
pkgdesc="Polkit client for NX"
url="https://git.weitnahbei.de/nullmark/nxpolkit"
arch=('i686' 'x86_64')
license=('GPL2')
depends=('gtk2' 'polkit')
optdepends=('nxinit: Session initialiastion')
makedepends=('git')
provides=('nxpolkit')
conflicts=('nxpolkit')
source=("$_pkgname::git+http://git.weitnahbei.de/nullmark/nxpolkit#branch=devalafy")
sha256sums=('SKIP')

build() {
  cd $_pkgname
  make
}

package() {
  cd $_pkgname
  make PREFIX=/usr DESTDIR="$pkgdir" install
  install -m644 -D COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
  install -m644 -D README "$pkgdir/usr/share/doc/$pkgname/README.md"
}