2015-12-06 19:30:05 +01:00
|
|
|
# Template file for 'ykpers-gui'
|
|
|
|
_realname="yubikey-personalization-gui"
|
|
|
|
pkgname=ykpers-gui
|
2016-01-25 11:55:59 +01:00
|
|
|
version=3.1.24
|
2015-12-06 19:30:05 +01:00
|
|
|
revision=1
|
|
|
|
wrksrc="${_realname}-${version}"
|
|
|
|
build_style=qmake
|
|
|
|
hostmakedepends="qt5-qmake pkg-config"
|
|
|
|
makedepends="qt5-devel libusb-compat-devel libyubikey-devel libykpers-devel"
|
|
|
|
depends="hicolor-icon-theme"
|
|
|
|
short_desc="Yubikey Personalization Tools GUI"
|
|
|
|
maintainer="yopito <pierre.bourgin@free.fr>"
|
|
|
|
license="BSD"
|
|
|
|
homepage="https://developers.yubico.com/${_realname}/"
|
|
|
|
distfiles="https://developers.yubico.com/${_realname}/Releases/${_realname}-${version}.tar.gz"
|
2016-01-25 11:55:59 +01:00
|
|
|
checksum=98295f7ed7bda72e6f8f96351d69d41d55c09d9515f80b5efc7c722dd566482a
|
2015-12-06 19:30:05 +01:00
|
|
|
|
|
|
|
post_install() {
|
|
|
|
vlicense COPYING LICENSE
|
|
|
|
vbin build/release/${_realname} ykpers-gui
|
|
|
|
vinstall resources/lin/${_realname}.png 644 usr/share/icons/hicolor/48x48/apps ykpers-gui.png
|
|
|
|
vinstall resources/lin/${_realname}.desktop 644 usr/share/applications ykpers-gui.desktop
|
|
|
|
sed -i -e 's,^\(Exec\|Icon\)=.*,\1=ykpers-gui,' ${DESTDIR}/usr/share/applications/ykpers-gui.desktop
|
|
|
|
}
|