libkeybinder2: Remove _offname that was used just in the distfiles

and wrksrc variable. Also, include gtk-doc in hostmakedepends and
force the source file to be written to a properly named *.tar.gz.
This commit is contained in:
ShadowKyogre 2014-11-06 08:45:24 -08:00
parent ab0dc72dff
commit e206a52fd4
1 changed files with 3 additions and 4 deletions

View File

@ -1,19 +1,18 @@
pkgname=libkeybinder2 pkgname=libkeybinder2
_offname=keybinder
version=0.3.0 version=0.3.0
revision=1 revision=1
build_style=gnu-configure build_style=gnu-configure
build_options="gir" build_options="gir"
configure_args="$(vopt_enable gir introspection)" configure_args="$(vopt_enable gir introspection)"
hostmakedepends="automake libtool pkg-config intltool gnome-common" hostmakedepends="automake libtool pkg-config intltool gnome-common gtk-doc"
makedepends="pygtk-devel $(vopt_if gir gobject-introspection)" makedepends="pygtk-devel $(vopt_if gir gobject-introspection)"
short_desc="Library for registering global keyboard shortcuts (GTK+2)" short_desc="Library for registering global keyboard shortcuts (GTK+2)"
maintainer="ShadowKyogre <shadowkyogre.public@gmail.com>" maintainer="ShadowKyogre <shadowkyogre.public@gmail.com>"
homepage="https://github.com/engla/keybinder" homepage="https://github.com/engla/keybinder"
license="GPL-2" license="GPL-2"
distfiles="https://github.com/engla/${_offname}/archive/v${version}.tar.gz" distfiles="https://github.com/engla/keybinder/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz"
checksum=8e8d77386b9e29556fab097c31aec643d36a33d201733b7b999179abcba7774e checksum=8e8d77386b9e29556fab097c31aec643d36a33d201733b7b999179abcba7774e
wrksrc=${_offname}-${version} wrksrc=keybinder-${version}
# Disable gir for cross builds. # Disable gir for cross builds.
if [ -z "$CROSS_BUILD" ]; then if [ -z "$CROSS_BUILD" ]; then