Date: Tuesday, March 13, 2018 @ 20:09:11 Author: heftig Revision: 318860
archrelease: copy trunk to gnome-unstable-x86_64 Added: caribou/repos/gnome-unstable-x86_64/ caribou/repos/gnome-unstable-x86_64/PKGBUILD (from rev 318859, caribou/trunk/PKGBUILD) ----------+ PKGBUILD | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) Copied: caribou/repos/gnome-unstable-x86_64/PKGBUILD (from rev 318859, caribou/trunk/PKGBUILD) =================================================================== --- gnome-unstable-x86_64/PKGBUILD (rev 0) +++ gnome-unstable-x86_64/PKGBUILD 2018-03-13 20:09:11 UTC (rev 318860) @@ -0,0 +1,53 @@ +# $Id$ +# Maintainer : Ionut Biru <ib...@archlinux.org> +# Contributor: Adam Hani Schakaki <k...@krzd.net> + +pkgname=caribou +pkgver=0.4.21+60+gec9041b +pkgrel=1 +pkgdesc="A text entry and UI navigation application (on-screen keyboard)" +arch=('x86_64') +url="http://live.gnome.org/Caribou" +license=(LGPL) +depends=(at-spi2-atk python-atspi python-gobject gtk3 libxklavier libgee clutter dconf) +makedepends=(intltool docbook-xsl gtk2 gobject-introspection vala git gnome-common) +options=(!emptydirs) +_commit=ec9041baf3a42fee24e34318e04ae4f5349bd7ec # master +source=("git+https://git.gnome.org/browse/caribou#commit=$_commit") +sha256sums=('SKIP') + +pkgver() { + cd $pkgname + git describe --long | sed -e 's/-/+/g' -e 's/^CARIBOU_//' -e 's/_/./g' +} + +prepare() { + cd $pkgname + NOCONFIGURE=1 ./autogen.sh +} + +build() { + cd $pkgname + + ./configure --prefix=/usr --sysconfdir=/etc \ + --libexecdir=/usr/lib/$pkgname \ + --disable-static \ + --disable-schemas-compile + + # https://bugzilla.gnome.org/show_bug.cgi?id=655517 + sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool + + make +} + +check() { + cd $pkgname + make -k check +} + +package() { + cd $pkgname + make DESTDIR="$pkgdir" install +} + +# vim:set ts=2 sw=2 et: