summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b7f077af20bdb3240c9d6f9ad15de8045c3bceeb (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
# Maintainer: That One Seong <ThatOneSeong@protonmail.com>

_name=GUN4ALL-GUI
pkgname=gun4all-gui
pkgver=1.2.1
pkgrel=1
pkgdesc='Configuration utility for the IR-GUN4ALL DIY light-gun system.'
arch=('x86_64' 'aarch64')
url='https://github.com/SeongGino/GUN4ALL-GUI'
license=('GPL-3.0-only')
depends=('qt5-base' 'qt5-serialport' 'qt5-svg' 'icu')
makedepends=('cmake')
install=$pkgname.install
source=("https://github.com/SeongGino/GUN4ALL-GUI/archive/refs/tags/v${pkgver}.tar.gz"
        'GUN4ALL-GUI.desktop')
md5sums=('1b6bc617c1f2b770a4ca6416dfd4dccd'
         '5a34660fff6347e05463589e51b90bec')

build() {
  mkdir "$srcdir/$_name-$pkgver/build"
  cd "$srcdir/$_name-$pkgver/build"
  cmake ..
  make
}

package() {
  install -Dm755 "$srcdir/$_name-$pkgver/build/G4A-GUImain" "$pkgdir/usr/bin/G4A-GUI"
  install -Dm755 "$srcdir/GUN4ALL-GUI.desktop" "$pkgdir/usr/share/applications/GUN4ALL-GUI.desktop"
}