summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: aa761e2204114a43bb0fa60503b37676bebd01db (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
# Contributor: Lex Black <autumn-wind@web.de>
# Contributor: jdarch <jda -dot- cloud -plus- archlinux -at- gmail -dot- com>
# Contributor: Gavin Lloyd <gavinhungry@gmail.com>
# Contributor: xav <xav at ethetricks dot eu>
# Maintainer: SAYED M. Hisham <drhishamsayed128@protonmail.com>

pkgname=tpmmanager
pkgver=0.9.0
pkgrel=1
pkgdesc="TPM management software providing an easy to use graphical user interface"
arch=('i686' 'x86_64')
url="https://github.com/Rohde-Schwarz/TPMManager"
license=(GPL2)
depends=('qt5-base' 'trousers')
source=("${pkgname}-${pkgver}.tar.gz::$url/archive/refs/tags/v${pkgver}.tar.gz" "org.rohde.tpmmanager.desktop")
sha512sums=('bb094f6af52013b25859a346a4a5a49d49b187253d3e6e58d1962ef607744ce376e47b5ad858db3a5befb26ae9b6a98329182af098c497443885ffddb8562ae8' '526aadc804203677ae937ac6dc6f13766de4fb457a1cdc071f28d8537b89e5e47961b6332ce8a28ae81ba05bdc24495ec880bd44c22d0f0aef74eac23a346317')

build() {
  cd "TPMManager-${pkgver}"
  qmake-qt5 QMAKE_CFLAGS+=-fpermissive QMAKE_CXXFLAGS+=-fpermissive
  make
}

package() {
  cd "TPMManager-${pkgver}"
  install -D -m755 "bin/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
  mkdir -p ${pkgdir}/usr/share/applications
  cp ${srcdir}/org.rohde.tpmmanager.desktop ${pkgdir}/usr/share/applications/org.rohde.tpmmanager.desktop
}