New package: gtkhotkey-0.2.1
This commit is contained in:
parent
dc09909f6b
commit
747a672fd7
2 changed files with 32 additions and 0 deletions
1
srcpkgs/gtkhotkey-devel
Symbolic link
1
srcpkgs/gtkhotkey-devel
Symbolic link
|
@ -0,0 +1 @@
|
|||
gtkhotkey
|
31
srcpkgs/gtkhotkey/template
Normal file
31
srcpkgs/gtkhotkey/template
Normal file
|
@ -0,0 +1,31 @@
|
|||
# Template file for 'gtkhotkey'
|
||||
pkgname=gtkhotkey
|
||||
version=0.2.1
|
||||
revision=1
|
||||
build_style=gnu-configure
|
||||
hostmakedepends="pkg-config intltool"
|
||||
makedepends="gtk+-devel"
|
||||
short_desc="Platform independent hotkey handling for Gtk+ applications"
|
||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||
license="LGPL-3"
|
||||
homepage="https://launchpad.net/gtkhotkey"
|
||||
distfiles="http://launchpad.net/${pkgname}/${version%.*}/${version}/+download/${pkgname}-${version}.tar.gz"
|
||||
checksum=fe1cf0d93026d791e856170356f56fbdff9095fe637c4a74104144c1e5111d67
|
||||
|
||||
pre_configure() {
|
||||
sed -i '/gtkhotkeydocdir/s/\${prefix}/\${datadir}/g' Makefile.{am,in}
|
||||
sed -i 's|glib/gquark\.h|glib.h|' src/gtk-hotkey-error.h
|
||||
sed -i 's|glib/gtypes\.h|glib.h|' src/x11/tomboykeybinder.h
|
||||
}
|
||||
|
||||
gtkhotkey-devel_package() {
|
||||
short_desc+=" - development files"
|
||||
depends="${makedepends} ${sourcepkg}-${version}_${revision}"
|
||||
pkg_install() {
|
||||
vmove usr/include
|
||||
vmove usr/lib/pkgconfig
|
||||
vmove usr/lib/*.a
|
||||
vmove usr/lib/*.so
|
||||
vmove usr/share/gtk-doc
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue