summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6f148b11b8c610307f6ade56ed930f6cc4b9f70c (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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# Maintainer: Hauke Rehfeld <aur@haukerehfeld.de>
set -xe
source ".env"
set +e

pkgname="labtunnel-git"
set +x

pkgver=r207.09a1b34
pkgrel=1
epoch=
pkgdesc=""
arch=('i686' 'x86_64')
url=""
license=('GPL')
groups=()
depends=("openssh" "systemd")
makedepends=()
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=labtunnel.install
changelog=
source=("${pkgname%-git}::git+https://github.com/renxida/${pkgname%-git}.git")
sha256sums=('SKIP')


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




_SYSTEMD_SERVICE_DIR="/etc/systemd/user"


noextract=()

prepare() {
  set -x
  cd "$srcdir"
  set +x
}

package() {
  set -x
  cd "$srcdir/${pkgname%-git}"
  install -Dm644 "labtunnel@.service" "${pkgdir}${_SYSTEMD_SERVICE_DIR}/labtunnel@.service"
  set +x
}

# vim:set ts=2 sw=2 et: