summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 73a3bf435a00d9a1745f9c50638e0d6309baba42 (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.62.r1.g15a4571
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')
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
}