Files
LFS-PKGBUILDs/x11-misc/compose-tables-1.8.12.PKGBUILD

38 lines
822 B
Bash

pkgname=compose-tables
pkgver=1.8.12
pkgdesc="X.Org Compose Key tables from libX11"
homepage="https://gitlab.freedesktop.org/xorg/util/compose-tables"
makedepends=(
pkgconf
x11-base/xorg-proto
x11-libs/libxcb
x11-libs/xtrans
)
sources=("libX11-${pkgver}.tar.xz")
urls=("https://www.x.org/releases/individual/lib/libX11-${pkgver}.tar.xz")
md5sums=("146d770e564812e00f97e0cbdce632b7")
src_prepare() {
tar -xf ${distdir}/${sources[0]} --strip-components=1
}
src_build() {
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--disable-static \
--without-xmlto \
--without-fop \
--disable-specs \
--disable-xkb \
--with-keysymdefdir=/usr/include/X11
make -C nls
}
src_install() {
make -C nls DESTDIR="${pkgdir}" install
}
# vim:ft=sh syn=sh et sw=2: