mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-25 11:02:13 +08:00
34 lines
922 B
Bash
34 lines
922 B
Bash
|
|
# Desktop Packages for Chakra, part of chakra-project.org
|
|
|
|
# Maintainer abveritas@chakra-project.org
|
|
|
|
# Include global configuration
|
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
|
|
|
pkgname=libxklavier
|
|
pkgver=5.2.1
|
|
pkgrel=1
|
|
pkgdesc="High-level API for X Keyboard Extension"
|
|
arch=('i686' 'x86_64')
|
|
license=('LGPL')
|
|
depends=('libxkbfile' 'libxml2' 'glib2' 'xkeyboard-config' 'libxi' 'iso-codes')
|
|
makedepends=('pkg-config')
|
|
options=('!libtool' '!emptydirs')
|
|
url="http://gswitchit.sourceforge.net"
|
|
source=("http://ftp.gnome.org/pub/gnome/sources/${pkgname}/5.2/${pkgname}-${pkgver}.tar.xz")
|
|
sha256sums=('a7a1ca8ae493fb652e3456a6b3a0b07514447161aab41feed96b968f2d338b5e')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
./configure --prefix=/usr \
|
|
--with-xkb-base=/usr/share/X11/xkb --disable-static
|
|
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|