key-mon: set pycompile_module; correct license; vinstall does not need vmkdir.

This commit is contained in:
Juan RP 2014-11-24 08:18:12 +01:00
parent 310e782dcb
commit 2aec639bca

View file

@ -1,21 +1,20 @@
# Template file for 'key-mon' # Template file for 'key-mon'
pkgname=key-mon pkgname=key-mon
version=1.17 version=1.17
revision=1 revision=2
noarch=yes noarch=yes
build_style=python-module build_style=python-module
hostmakedepends="python" hostmakedepends="python"
depends="dbus-glib pygtk python-dbus python-xlib" depends="dbus-glib pygtk python-dbus python-xlib"
pycompile_module="keymon"
short_desc="Utility to show live keyboard and mouse status" short_desc="Utility to show live keyboard and mouse status"
maintainer="Enno Boland <eb@s01.de>" maintainer="Enno Boland <eb@s01.de>"
license="Apache License 2.0" license="Apache-2.0"
homepage="https://code.google.com/p/key-mon" homepage="https://code.google.com/p/key-mon"
distfiles="https://key-mon.googlecode.com/files/${pkgname}-${version}.tar.gz" distfiles="https://key-mon.googlecode.com/files/${pkgname}-${version}.tar.gz"
checksum=b8d029b375e7f876d44db6b72ed3e7e6c0372a9e9dc21ea85d9055cc7a033fd2 checksum=b8d029b375e7f876d44db6b72ed3e7e6c0372a9e9dc21ea85d9055cc7a033fd2
post_install() { post_install() {
vmkdir usr/share/applications vinstall icons/key-mon.desktop 644 usr/share/applications
vmkdir usr/share/pixmaps
vinstall icons/key-mon.desktop 644 usr/share/applications
vinstall icons/key-mon.xpm 644 usr/share/pixmaps vinstall icons/key-mon.xpm 644 usr/share/pixmaps
} }