summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: dc00a59870073def9dd6fe06bcf318161272344f (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
# Maintainer: Chocobo1 <chocobo1 AT archlinux DOT net>

pkgname=firetools-git
pkgver=0.9.72.r3.g81ca775
pkgrel=1
pkgdesc="Graphical user interface of Firejail"
arch=('i686' 'x86_64')
url="https://firejail.wordpress.com/"
license=('GPL')
depends=('firejail' 'qt5-base')
makedepends=('git')
provides=("firetools=$pkgver")
conflicts=('firetools')
source=("git+https://github.com/netblue30/firetools.git")
sha256sums=('SKIP')


pkgver() {
  cd "firetools"

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

build() {
  cd "firetools"

  autoreconf -fi
  ./configure \
    --prefix="/usr"
  make
}

package() {
  cd "firetools"

  make DESTDIR="$pkgdir" install
}