summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: aa4089baf18996c687a7aee3554307dbb37c98d3 (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
# Maintainer: m8D2 <omui (at) proton mail (dot) com>

pkgname=f3-qt
pkgver=2.1.0
pkgrel=5
pkgdesc="A simple GUI for F3 - Fight Flash Fraud."
arch=(i686 x86_64)
url="https://github.com/zwpwjwtz/f3-qt"
license=(GPL3)
depends=(f3 qt5-base)
makedepends=(git)
provides=(f3-qt)
conflicts=(f3-qt-git)
source=($pkgname-$pkgver::git+$url#commit=95b5837f48bb909a34d2d2d80efc84565f1a7850)
sha256sums=('SKIP')

prepare() {
    cd "$srcdir"/$pkgname-$pkgver
}

build() {
    cd "$srcdir"/$pkgname-$pkgver
    qmake
    make
}

package() {
    cd "$srcdir"/$pkgname-$pkgver
    install -Dm755 "$srcdir"/$pkgname-$pkgver/$pkgname "$pkgdir"/usr/bin/$pkgname
    install -Dm644 "$srcdir"/$pkgname-$pkgver/$pkgname.desktop "$pkgdir"/usr/share/applications/$pkgname.desktop
}