summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 51acf3aad0a67b4e386d8166a12b2b7b60da86a9 (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
# Maintainer: Luca Weiss <luca (at) z3ntu (dot) xyz>

pkgname=f3-git
_pkgname=f3
pkgver=8.0.r38.g964ae86
pkgrel=1
pkgdesc="F3 - Fight Flash Fraud"
arch=('x86_64')
url="https://github.com/AltraMayor/f3"
license=('GPL3')
depends=('systemd-libs' 'parted')
makedepends=('git')
provides=("$_pkgname")
conflicts=("$_pkgname")
source=('git+https://github.com/AltraMayor/f3.git')
sha512sums=('SKIP')

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

build() {
  cd "$_pkgname"
  make
  make extra
}

package() {
  cd "$_pkgname"
  make PREFIX="$pkgdir/usr" install
  make PREFIX="$pkgdir/usr" install-extra
}

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