summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c3a3f88711a7b006b332161fe4f05a8daef96a65 (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=OpenFIRE-App
pkgname=openfireapp
pkgver=2.2
_rc=''
pkgrel=1
pkgdesc='Configuration utility for the OpenFIRE lightgun system.'
arch=('x86_64' 'aarch64')
url='https://github.com/TeamOpenFIRE/OpenFIRE-App'
license=('GPL-3.0-only')
depends=('qt5-base' 'qt5-serialport' 'qt5-svg' 'icu')
makedepends=('cmake')
install=$pkgname.install
source=("https://github.com/TeamOpenFIRE/OpenFIRE-App/archive/refs/tags/v${pkgver}${_rc}.tar.gz")
md5sums=('a98940df20aee352443b8616d5501a81')

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

package() {
  install -Dm755 "$srcdir/$_name-$pkgver${_rc}/build/OpenFIREapp" "$pkgdir/usr/bin/OpenFIREapp"
  install -Dm755 "$srcdir/$_name-$pkgver${_rc}/ico/openfire.svg" "$pkgdir/usr/share/icons/hicolor/scalable/apps/org.TeamOpenFIRE.OpenFIREapp.svg"
  install -Dm755 "$srcdir/$_name-$pkgver${_rc}/org.TeamOpenFIRE.OpenFIREapp.desktop" "$pkgdir/usr/share/applications/org.TeamOpenFIRE.OpenFIREapp.desktop"
}