Date: Friday, September 15, 2017 @ 21:05:49 Author: jgc Revision: 305634
archrelease: copy trunk to gnome-unstable-i686, gnome-unstable-x86_64 Added: libchamplain/repos/gnome-unstable-i686/ libchamplain/repos/gnome-unstable-i686/PKGBUILD (from rev 305633, libchamplain/trunk/PKGBUILD) libchamplain/repos/gnome-unstable-x86_64/ libchamplain/repos/gnome-unstable-x86_64/PKGBUILD (from rev 305633, libchamplain/trunk/PKGBUILD) --------------------------------+ gnome-unstable-i686/PKGBUILD | 42 +++++++++++++++++++++++++++++++++++++++ gnome-unstable-x86_64/PKGBUILD | 42 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 84 insertions(+) Copied: libchamplain/repos/gnome-unstable-i686/PKGBUILD (from rev 305633, libchamplain/trunk/PKGBUILD) =================================================================== --- gnome-unstable-i686/PKGBUILD (rev 0) +++ gnome-unstable-i686/PKGBUILD 2017-09-15 21:05:49 UTC (rev 305634) @@ -0,0 +1,42 @@ +# $Id$ +# Contributor: Andreas Radke <andy...@archlinux.org> +# Contributor: Michael Kanis <mka...@gmx.de> + +pkgname=libchamplain +pkgver=0.12.16 +pkgrel=1 +pkgdesc="A map widget" +url="https://wiki.gnome.org/Projects/libchamplain" +license=(LGPL) +arch=(i686 x86_64) +depends=(clutter-gtk libsoup cairo sqlite) +makedepends=(gobject-introspection gtk-doc vala gnome-common git) +_commit=daea081ce4a67d0c221de5f389130355fe37e73e # tags/LIBCHAMPLAIN_0_12_16^0 +source=("git+https://git.gnome.org/browse/libchamplain#commit=$_commit") +sha256sums=('SKIP') + +pkgver() { + cd $pkgname + git describe --tags | sed 's/^LIBCHAMPLAIN_//;s/_/./g;s/-/+/g' +} + +prepare() { + cd $pkgname + NOCONFIGURE=1 ./autogen.sh +} + +build() { + cd $pkgname + ./configure --prefix=/usr --disable-static --disable-debug \ + --enable-vala --enable-gtk-doc + + # https://bugzilla.gnome.org/show_bug.cgi?id=655517 + sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool + + make +} + +package() { + cd $pkgname + make DESTDIR="$pkgdir" install +} Copied: libchamplain/repos/gnome-unstable-x86_64/PKGBUILD (from rev 305633, libchamplain/trunk/PKGBUILD) =================================================================== --- gnome-unstable-x86_64/PKGBUILD (rev 0) +++ gnome-unstable-x86_64/PKGBUILD 2017-09-15 21:05:49 UTC (rev 305634) @@ -0,0 +1,42 @@ +# $Id$ +# Contributor: Andreas Radke <andy...@archlinux.org> +# Contributor: Michael Kanis <mka...@gmx.de> + +pkgname=libchamplain +pkgver=0.12.16 +pkgrel=1 +pkgdesc="A map widget" +url="https://wiki.gnome.org/Projects/libchamplain" +license=(LGPL) +arch=(i686 x86_64) +depends=(clutter-gtk libsoup cairo sqlite) +makedepends=(gobject-introspection gtk-doc vala gnome-common git) +_commit=daea081ce4a67d0c221de5f389130355fe37e73e # tags/LIBCHAMPLAIN_0_12_16^0 +source=("git+https://git.gnome.org/browse/libchamplain#commit=$_commit") +sha256sums=('SKIP') + +pkgver() { + cd $pkgname + git describe --tags | sed 's/^LIBCHAMPLAIN_//;s/_/./g;s/-/+/g' +} + +prepare() { + cd $pkgname + NOCONFIGURE=1 ./autogen.sh +} + +build() { + cd $pkgname + ./configure --prefix=/usr --disable-static --disable-debug \ + --enable-vala --enable-gtk-doc + + # https://bugzilla.gnome.org/show_bug.cgi?id=655517 + sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool + + make +} + +package() { + cd $pkgname + make DESTDIR="$pkgdir" install +}