[arch-commits] Commit in lib32-libxkbcommon/repos/multilib-x86_64 (PKGBUILD PKGBUILD)
Maxime Gauduin
alucryd at archlinux.org
Sun Aug 26 14:27:35 UTC 2018
Date: Sunday, August 26, 2018 @ 14:27:35
Author: alucryd
Revision: 374314
archrelease: copy trunk to multilib-x86_64
Added:
lib32-libxkbcommon/repos/multilib-x86_64/PKGBUILD
(from rev 374313, lib32-libxkbcommon/trunk/PKGBUILD)
Deleted:
lib32-libxkbcommon/repos/multilib-x86_64/PKGBUILD
----------+
PKGBUILD | 121 +++++++++++++++++++++++++++++--------------------------------
1 file changed, 58 insertions(+), 63 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-08-26 14:27:27 UTC (rev 374313)
+++ PKGBUILD 2018-08-26 14:27:35 UTC (rev 374314)
@@ -1,63 +0,0 @@
-# $Id$
-# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
-# Contributor: Jan Alexander Steffens <jan.steffens at gmail.com>
-# Contributor: Daniel Micay <danielmicay at gmail.com>
-# Contributor: Mladen Pejakovic <pejakm at gmail.com>
-
-pkgbase=lib32-libxkbcommon
-pkgname=('lib32-libxkbcommon' 'lib32-libxkbcommon-x11')
-pkgver=0.8.0
-pkgrel=1
-arch=('x86_64')
-url='https://xkbcommon.org/'
-license=('custom')
-makedepends=('gcc-multilib' 'lib32-libxcb' 'lib32-wayland' 'meson'
- 'wayland-protocols' 'xorg-util-macros')
-source=("https://xkbcommon.org/download/libxkbcommon-${pkgver}.tar.xz")
-sha256sums=('e829265db04e0aebfb0591b6dc3377b64599558167846c3f5ee5c5e53641fe6d')
-
-prepare() {
- mkdir -p build x11/usr/lib32/pkgconfig
-}
-
-build() {
- cd build
-
- export CC='gcc -m32'
- export CXX='g++ -m32'
- export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
-
- arch-meson ../libxkbcommon-${pkgver} \
- --libdir='/usr/lib32' \
- -Denable-docs='false'
- ninja
-}
-
-package_lib32-libxkbcommon() {
- pkgdesc='Keymap handling library for toolkits and window systems'
- depends=('lib32-glibc' 'libxkbcommon')
-
- cd build
-
- DESTDIR="${pkgdir}" ninja install
- rm -rf "${pkgdir}"/usr/include
-
- install -dm 755 "${pkgdir}"/usr/share/licenses
- ln -s libxkbcommon "${pkgdir}"/usr/share/licenses/lib32-libxkbcommon
-
- mv "${pkgdir}"/usr/lib32/*x11* ../x11/usr/lib32
- mv "${pkgdir}"/usr/lib32/pkgconfig/*x11* ../x11/usr/lib32/pkgconfig
-}
-
-package_lib32-libxkbcommon-x11() {
- pkgdesc='Keyboard handling library using XKB data for X11 XCB clients'
- depends=('lib32-libxcb' 'lib32-libxkbcommon' 'libxkbcommon-x11')
-
- mv x11/* "${pkgdir}"/
- find "${pkgdir}" -type d -exec chmod 755 {} +
-
- install -dm 755 "${pkgdir}"/usr/share/licenses
- ln -s libxkbcommon-x11 "${pkgdir}"/usr/share/licenses/lib32-libxkbcommon-x11
-}
-
-# vim: ts=2 sw=2 et:
Copied: lib32-libxkbcommon/repos/multilib-x86_64/PKGBUILD (from rev 374313, lib32-libxkbcommon/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-08-26 14:27:35 UTC (rev 374314)
@@ -0,0 +1,58 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Jan Alexander Steffens <jan.steffens at gmail.com>
+# Contributor: Daniel Micay <danielmicay at gmail.com>
+# Contributor: Mladen Pejakovic <pejakm at gmail.com>
+
+pkgbase=lib32-libxkbcommon
+pkgname=('lib32-libxkbcommon' 'lib32-libxkbcommon-x11')
+pkgver=0.8.2
+pkgrel=1
+arch=('x86_64')
+url='https://xkbcommon.org/'
+license=('custom')
+makedepends=('git' 'lib32-libxcb' 'lib32-wayland' 'meson' 'wayland-protocols'
+ 'xorg-util-macros')
+source=("git+https://github.com/xkbcommon/libxkbcommon.git#tag=xkbcommon-${pkgver}")
+sha256sums=('SKIP')
+
+prepare() {
+ mkdir -p build x11/usr/lib32/pkgconfig
+}
+
+build() {
+ export CC='gcc -m32'
+ export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
+
+ arch-meson libxkbcommon build \
+ --libdir='/usr/lib32' \
+ -Denable-docs='false'
+ ninja -C build
+}
+
+package_lib32-libxkbcommon() {
+ pkgdesc='Keymap handling library for toolkits and window systems'
+ depends=('lib32-glibc' 'libxkbcommon')
+
+ DESTDIR="${pkgdir}" ninja -C build install
+ rm -rf "${pkgdir}"/usr/include
+
+ install -dm 755 "${pkgdir}"/usr/share/licenses
+ ln -s libxkbcommon "${pkgdir}"/usr/share/licenses/lib32-libxkbcommon
+
+ mv "${pkgdir}"/usr/lib32/*x11* x11/usr/lib32
+ mv "${pkgdir}"/usr/lib32/pkgconfig/*x11* x11/usr/lib32/pkgconfig
+}
+
+package_lib32-libxkbcommon-x11() {
+ pkgdesc='Keyboard handling library using XKB data for X11 XCB clients'
+ depends=('lib32-libxcb' 'lib32-libxkbcommon' 'libxkbcommon-x11')
+
+ mv x11/* "${pkgdir}"/
+ find "${pkgdir}" -type d -exec chmod 755 {} +
+
+ install -dm 755 "${pkgdir}"/usr/share/licenses
+ ln -s libxkbcommon-x11 "${pkgdir}"/usr/share/licenses/lib32-libxkbcommon-x11
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list