mirror of
https://gitdl.cn/https://github.com/chakralinux/lib32.git
synced 2025-02-03 22:17:16 +08:00
added lib32-libxkbcommon
This commit is contained in:
parent
e7521791c2
commit
3c19c6f7c6
35
lib32-libxkbcommon/PKGBUILD
Normal file
35
lib32-libxkbcommon/PKGBUILD
Normal file
@ -0,0 +1,35 @@
|
||||
# Maintainer: Francesco Marinucci <franzmari [at] chakra-project [dot] it>
|
||||
|
||||
_pkgbasename=libxkbcommon
|
||||
pkgname=lib32-$_pkgbasename
|
||||
pkgver=0.3.2
|
||||
pkgrel=1
|
||||
pkgdesc='Keyboard handling library using XKB data'
|
||||
arch=('x86_64')
|
||||
url='http://xkbcommon.org/'
|
||||
license=('custom')
|
||||
depends=('lib32-glibc' $_pkgbasename=$pkgver )
|
||||
makedepends=('lib32-libxcb' 'xorg-util-macros')
|
||||
source=("http://xkbcommon.org/download/${pkgname#*-}-${pkgver}.tar.xz")
|
||||
sha256sums=('cc378a47b01b00226ecf647b69e07df04091323846124b366cf835e5cdf5a88a')
|
||||
|
||||
build() {
|
||||
cd ${_pkgbasename}-${pkgver}
|
||||
|
||||
export CC='gcc -m32'
|
||||
export CXX='g++ -m32'
|
||||
export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
|
||||
|
||||
./configure --prefix='/usr' --libdir='/usr/lib32' --disable-{docs,static,x11}
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd ${_pkgbasename}-${pkgver}
|
||||
|
||||
make DESTDIR="${pkgdir}" install
|
||||
rm -rf "${pkgdir}"/usr/include
|
||||
|
||||
install -dm 755 "${pkgdir}"/usr/share/licenses
|
||||
ln -s ${_pkgbasename} "${pkgdir}"/usr/share/licenses/${pkgname}
|
||||
}
|
Loading…
Reference in New Issue
Block a user