[arch-commits] Commit in libgnomekbd/repos (staging-x86_64 staging-x86_64/PKGBUILD)

Felix Yan felixonmars at archlinux.org
Tue May 19 08:08:22 UTC 2020


    Date: Tuesday, May 19, 2020 @ 08:08:21
  Author: felixonmars
Revision: 386162

archrelease: copy trunk to staging-x86_64

Added:
  libgnomekbd/repos/staging-x86_64/
  libgnomekbd/repos/staging-x86_64/PKGBUILD
    (from rev 386159, libgnomekbd/trunk/PKGBUILD)

----------+
 PKGBUILD |   40 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

Copied: libgnomekbd/repos/staging-x86_64/PKGBUILD (from rev 386159, libgnomekbd/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2020-05-19 08:08:21 UTC (rev 386162)
@@ -0,0 +1,40 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=libgnomekbd
+pkgver=3.26.1+2+g8d02ebd
+pkgrel=2
+pkgdesc="Keyboard management library"
+url="https://gitlab.gnome.org/GNOME/libgnomekbd"
+arch=(x86_64)
+license=(LGPL)
+depends=(libxklavier gtk3 dconf)
+makedepends=(gobject-introspection git)
+_commit=8d02ebd17b75ff3be59d9d57674d50e069bb551b  # master
+source=("git+https://gitlab.gnome.org/GNOME/libgnomekbd.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+  NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+  cd "$pkgname"
+  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+      --disable-schemas-compile --disable-static
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  make
+}
+
+package() {
+  cd "$pkgname"
+  make DESTDIR="$pkgdir" install
+}
+
+# vim:set sw=2 et:



More information about the arch-commits mailing list