30 lines
880 B
Bash
30 lines
880 B
Bash
# Template file for 'xcb-imdkit'
|
|
pkgname=xcb-imdkit
|
|
version=1.0.8
|
|
revision=1
|
|
build_style=cmake
|
|
hostmakedepends="pkg-config extra-cmake-modules"
|
|
makedepends="xcb-util-keysyms-devel xcb-util-devel uthash"
|
|
short_desc="Implementation of xim protocol in xcb"
|
|
maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
|
|
license="LGPL-2.1-only"
|
|
homepage="https://github.com/fcitx/xcb-imdkit"
|
|
distfiles="https://download.fcitx-im.org/fcitx5/xcb-imdkit/xcb-imdkit-${version}.tar.zst"
|
|
checksum=fec78a8b71c65fcd52ab6ca0ed6f7b13b50b281d8aec6c41eb60e497d8a41cf0
|
|
|
|
post_install() {
|
|
sed -i '/prefix=/!s,/usr,${exec_prefix},' \
|
|
"${DESTDIR}/usr/lib/pkgconfig"/*.pc
|
|
}
|
|
|
|
xcb-imdkit-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/cmake
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|