summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6af5a93943ceb7a62f4f646f0bde6fda322c55b1 (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
# Maintainer: Cyrinux <pkgbuilds AT levis DOT name>
pkgname=firetunnel-git
pkgver=master
pkgrel=5
pkgdesc="Tunneling program for Firejail sandboxes"
arch=('any')
url="https://github.com/netblue30/firetunnel"
license=('GPL')
makedepends=('git')
provides=('firetunnel')
conflicts=('firetunnel')
source=("git+https://github.com/netblue30/firetunnel.git")
sha512sums=('SKIP')
backups=('/etc/firetunnel/firetunnel.secret')

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

build() {
  cd "${srcdir}/firetunnel"
  ./configure --prefix=/usr
  make
}

package() {
  cd "${srcdir}/firetunnel"
  make DESTDIR="${pkgdir}" install-strip
}