# Template file for 'xcb-util-xrm' pkgname=xcb-util-xrm version=1.3 revision=1 build_style=gnu-configure hostmakedepends="automake libtool pkg-config xorg-util-macros" makedepends="libX11-devel xcb-util-devel" short_desc="XCB utility functions for the X resource manager" maintainer="Orphaned " license="MIT" homepage="https://github.com/Airblader/xcb-util-xrm" distfiles="https://github.com/Airblader/xcb-util-xrm/archive/v${version}.tar.gz" checksum=9d4a66c7366abb4840f6f822c613e1776c5898235358de728ba4554263fa0783 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then makedepends+=" musl-legacy-compat" fi post_extract() { # The archives doesn't include the git submodule for the m4 # functions required cp -- "${FILESDIR}"/*.m4 m4 } pre_configure() { autoreconf -fi } post_install() { vlicense COPYING } xcb-util-xrm-devel_package() { short_desc+=" - development files" depends="${sourcepkg}-${version}_${revision} xcb-util-devel" pkg_install() { vmove usr/include vmove usr/lib/pkgconfig vmove "usr/lib/*.a" vmove "usr/lib/*.so" } }