37 lines
1 KiB
Bash
37 lines
1 KiB
Bash
# Template file for 'i3ipc-glib'
|
|
pkgname=i3ipc-glib
|
|
version=0.6.0
|
|
revision=2
|
|
build_style=gnu-configure
|
|
configure_args="$(vopt_enable gir introspection) --disable-static"
|
|
hostmakedepends="autoconf automake libtool gtk-doc pkg-config glib-devel
|
|
gobject-introspection"
|
|
makedepends="json-glib-devel libxcb-devel libglib-devel"
|
|
short_desc="C interface library to i3 window manager"
|
|
maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="https://github.com/acrisci/i3ipc-glib"
|
|
distfiles="https://github.com/acrisci/${pkgname}/archive/v${version}.tar.gz"
|
|
checksum=13796add0292885683040a01ae974f4aacfdb44e3d1ab871d2d94da443489415
|
|
|
|
build_options="gir"
|
|
if [ -z "$CROSS_BUILD" ]; then
|
|
build_options_default="gir"
|
|
fi
|
|
|
|
pre_configure() {
|
|
NOCONFIGURE=1 ./autogen.sh
|
|
}
|
|
|
|
i3ipc-glib-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove usr/lib/*.so
|
|
if [ "$build_option_gir" ]; then
|
|
vmove usr/share/gir-1.0
|
|
fi
|
|
}
|
|
}
|