summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6749a9adcf484318bacc0f43b0c2d36b214704ef (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
pkgname="deskx-git"
_pkgname="deskx"
pkgver=r42.74a9400
pkgrel=2
pkgdesc="A very small program to remotely control a computer in a local network (X11-only). "
arch=("x86_64")
url="https://github.com/DeskX11/DeskX"
license=("apache")
makedepends=(
  "libx11"
  "libxtst"
  "openssl"
)
source=(
  "$_pkgname::git+https://github.com/DeskX11/DeskX.git"
)
sha256sums=(
  "SKIP"
)

pkgver() {
  cd "$srcdir/$_pkgname"
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
  cd "$srcdir/$_pkgname"
  make server client
}

package() {
  cd "$srcdir"
  install -Dm755 "$_pkgname/dxc" "$pkgdir/usr/bin/dxc"
  install -Dm755 "$_pkgname/dxs" "$pkgdir/usr/bin/dxs"
}