37 lines
1.0 KiB
Bash
37 lines
1.0 KiB
Bash
# Template file for 'gtkhotkey'
|
|
pkgname=gtkhotkey
|
|
version=0.2.1
|
|
revision=2
|
|
build_style=gnu-configure
|
|
hostmakedepends="pkg-config intltool"
|
|
makedepends="gtk+-devel"
|
|
checkdepends="glib-devel"
|
|
short_desc="Platform independent hotkey handling for Gtk+ applications"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="LGPL-3.0-or-later"
|
|
homepage="https://launchpad.net/gtkhotkey"
|
|
distfiles="http://launchpad.net/${pkgname}/${version%.*}/${version}/+download/${pkgname}-${version}.tar.gz"
|
|
checksum=fe1cf0d93026d791e856170356f56fbdff9095fe637c4a74104144c1e5111d67
|
|
|
|
pre_check() {
|
|
mkdir /tmp/.config
|
|
}
|
|
|
|
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
|
|
}
|
|
}
|