Andreas Radke pushed to branch main at Arch Linux / Packaging / Packages / 
libxkbfile


Commits:
38532abf by Andreas Radke at 2024-02-05T07:47:17+01:00
upgpkg: 1.1.3-1

- - - - -


2 changed files:

- + .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -0,0 +1,19 @@
+pkgbase = libxkbfile
+       pkgdesc = X11 keyboard file manipulation library
+       pkgver = 1.1.3
+       pkgrel = 1
+       url = https://gitlab.freedesktop.org/xorg/lib/libxkbfile
+       arch = x86_64
+       license = LicenseRef-libxkbfile
+       makedepends = xorg-util-macros
+       makedepends = meson
+       depends = libx11
+       depends = xorgproto
+       depends = glibc
+       source = 
https://xorg.freedesktop.org/releases/individual/lib/libxkbfile-1.1.3.tar.xz
+       source = 
https://xorg.freedesktop.org/releases/individual/lib/libxkbfile-1.1.3.tar.xz.sig
+       validpgpkeys = 4A193C06D35E7C670FA4EF0BA2FB9E081F2D130E
+       sha512sums = 
d80ac41f6fa3a1ffad77ea1f8f9d9542f0bd210d74b263802bc6e6c1594fe325b27f42b5454aeeb36352518963b1ed1fdbbad95d7db3690b2e36d54742b7c236
+       sha512sums = SKIP
+
+pkgname = libxkbfile


=====================================
PKGBUILD
=====================================
@@ -2,30 +2,32 @@
 # Contributor: Jan de Groot <j...@archlinux.org>
 
 pkgname=libxkbfile
-pkgver=1.1.2
+pkgver=1.1.3
 pkgrel=1
 pkgdesc="X11 keyboard file manipulation library"
 arch=('x86_64')
-license=('custom')
-url="https://xorg.freedesktop.org/";
-depends=('libx11')
-makedepends=('xorg-util-macros')
-source=(${url}/releases/individual/lib/${pkgname}-${pkgver}.tar.xz{,.sig})
-sha512sums=('0639fad7b64b36a85f8d24cdd40085e0ec18d7a671793b8b5c26449e9cc5a84c37117e7757fb1238ac353044935dd00013e42166de5af9dec428e873a47e598d'
+license=('LicenseRef-libxkbfile')
+url="https://gitlab.freedesktop.org/xorg/lib/libxkbfile";
+depends=('libx11' 'xorgproto' 'glibc')
+makedepends=('xorg-util-macros' 'meson')
+source=(https://xorg.freedesktop.org/releases/individual/lib/${pkgname}-${pkgver}.tar.xz{,.sig})
+sha512sums=('d80ac41f6fa3a1ffad77ea1f8f9d9542f0bd210d74b263802bc6e6c1594fe325b27f42b5454aeeb36352518963b1ed1fdbbad95d7db3690b2e36d54742b7c236'
             'SKIP')
-#validpgpkeys=('4A193C06D35E7C670FA4EF0BA2FB9E081F2D130E') #Alan Coopersmith 
<alan.coopersm...@oracle.com>
-validpgpkeys=('3BB639E56F861FA2E86505690FDD682D974CA72A') # Matt Turner 
<matts...@gmail.com>
+validpgpkeys=('4A193C06D35E7C670FA4EF0BA2FB9E081F2D130E') #Alan Coopersmith 
<alan.coopersm...@oracle.com>
+#validpgpkeys=('3BB639E56F861FA2E86505690FDD682D974CA72A') # Matt Turner 
<matts...@gmail.com>
 
 build() {
-  cd ${pkgname}-${pkgver}
-  ./configure --prefix=/usr --sysconfdir=/etc --disable-static 
-  make
+  arch-meson $pkgname-$pkgver build
+  # Print config
+  meson configure build
+  ninja -C build
 }
 
-package() {
-  cd ${pkgname}-${pkgver}
-  make DESTDIR="${pkgdir}" install
+check() {
+  meson test -C build
+}
 
-  install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
-  install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
+package() {
+  DESTDIR="$pkgdir" meson install -C build
+  install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 
$pkgname-$pkgver/COPYING
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/libxkbfile/-/commit/38532abf017e2799cc42730e0cbebe83614830d2

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/libxkbfile/-/commit/38532abf017e2799cc42730e0cbebe83614830d2
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to