[arch-commits] Commit in libgnomekbd/repos (2 files)
Jan Steffens
heftig at archlinux.org
Sun Mar 11 19:40:22 UTC 2018
Date: Sunday, March 11, 2018 @ 19:40:21
Author: heftig
Revision: 318632
archrelease: copy trunk to gnome-unstable-x86_64
Added:
libgnomekbd/repos/gnome-unstable-x86_64/
libgnomekbd/repos/gnome-unstable-x86_64/PKGBUILD
(from rev 318631, libgnomekbd/trunk/PKGBUILD)
----------+
PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
Copied: libgnomekbd/repos/gnome-unstable-x86_64/PKGBUILD (from rev 318631, libgnomekbd/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD 2018-03-11 19:40:21 UTC (rev 318632)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=libgnomekbd
+pkgver=3.26.0+5+g1c1b585
+pkgrel=1
+pkgdesc="Keyboard management library"
+url="https://git.gnome.org/browse/libgnomekbd"
+arch=(x86_64)
+license=(LGPL)
+depends=(libxklavier gtk3 dconf)
+makedepends=(intltool gobject-introspection git)
+_commit=1c1b585dfb76c2d22affc0a090c404571981b2bd # master
+source=("git://git.gnome.org/libgnomekbd#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
+}
More information about the arch-commits
mailing list