summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 488fe9374a65a5c6131fa5d3ec4d815e29ae85b6 (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: Zack Emmert <zemmert@fastmail.com>

pkgname=memtypetool-bin
_pkgname=memtypetool
pkgver=1.0.1
pkgrel=1
pkgdesc="GUI Tool for the MemType Hardware Password Manager (Binary version)"
arch=('x86_64')
url="http://www.area0x33.com/documentation/memtype.html"
license=('GPL')
groups=()
depends=('qt5-base' 'libusb')
source=("https://github.com/oyzzo/MemTypeTool/releases/download/${pkgver}/MemTypeTool-${pkgver}-linux_x64.tar.gz"
	"memtypetool.desktop"
	"logo.png")
sha256sums=('ca65ad73a892701412235994a1c572e5e3e8f20ed3bd5ea00a054b5c1d009820' 
	    'f702c15b4a52820b021f1bbc7c8546fb7fea5462a9ff3f4c42baadfd8483bf9f'
	    '1486f05b848bd5c45069dd21d88a0a2872e9be3361c37380146cedaae7b0964c')

package() {
	
	install -d "${pkgdir}/opt/${_pkgname}"
	install -d "${pkgdir}/usr/share/applications"
	install -d "${pkgdir}/usr/bin"
	
	install logo.png "${pkgdir}/opt/${_pkgname}"
	install memtypetool.desktop "${pkgdir}/usr/share/applications"
	cd "${srcdir}"
	install linux64/* "${pkgdir}/opt/${_pkgname}/"
	ln -s "/opt/${_pkgname}/MemTypeManager" "${pkgdir}/usr/bin/MemTypeManager"
}