mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-04 02:07:14 +08:00
35 lines
1.1 KiB
Bash
35 lines
1.1 KiB
Bash
#
|
|
# Platform Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
|
|
pkgname=xkeyboard-config
|
|
pkgver=2.2.1
|
|
pkgrel=1
|
|
pkgdesc="X keyboard configuration files"
|
|
arch=(any)
|
|
license=('custom')
|
|
url="http://www.freedesktop.org/wiki/Software/XKeyboardConfig"
|
|
depends=('xorg-xkb-utils')
|
|
makedepends=('intltool')
|
|
provides=('xkbdata')
|
|
replaces=('xkbdata')
|
|
conflicts=('xkbdata')
|
|
source=(http://xorg.freedesktop.org/releases/individual/data/${pkgname}/${pkgname}-${pkgver}.tar.bz2)
|
|
sha1sums=('3962f1e92e9defb0382ce46ec0cc86cc30ff897f')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
./configure --prefix=/usr \
|
|
--with-xkb-base=/usr/share/X11/xkb \
|
|
--with-xkb-rules-symlink=xorg \
|
|
--enable-compat-rules=yes
|
|
make
|
|
make DESTDIR="${pkgdir}" install
|
|
rm -f "${pkgdir}/usr/share/X11/xkb/compiled"
|
|
install -m755 -d "${pkgdir}/var/lib/xkb"
|
|
install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
|
|
install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
|
|
}
|