Date: Monday, July 23, 2018 @ 08:06:29 Author: foutrelis Revision: 329394
archrelease: copy trunk to staging-x86_64 Added: libpeas/repos/staging-x86_64/ libpeas/repos/staging-x86_64/PKGBUILD (from rev 329393, libpeas/trunk/PKGBUILD) ----------+ PKGBUILD | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) Copied: libpeas/repos/staging-x86_64/PKGBUILD (from rev 329393, libpeas/trunk/PKGBUILD) =================================================================== --- staging-x86_64/PKGBUILD (rev 0) +++ staging-x86_64/PKGBUILD 2018-07-23 08:06:29 UTC (rev 329394) @@ -0,0 +1,45 @@ +# $Id$ +# Maintainer: Jan Alexander Steffens (heftig) <jan.steff...@gmail.com> + +pkgname=libpeas +pkgver=1.22.0 +pkgrel=3 +pkgdesc="A GObject plugins library" +arch=(x86_64) +url="https://wiki.gnome.org/Projects/Libpeas" +license=(GPL2) +depends=(gtk3 gobject-introspection-runtime) +makedepends=(gtk-doc intltool python-gobject python2-gobject glade gobject-introspection git + gnome-common) +_commit=2f8b28dd8e1edc1bc3b05ef5379e4aa7d2876efb # tags/libpeas-1.22.0^0 +source=("git+https://git.gnome.org/browse/libpeas#commit=$_commit") +sha256sums=('SKIP') + + +pkgver() { + cd $pkgname + git describe --tags | sed 's/^libpeas-//;s/-/+/g' +} + +prepare() { + cd $pkgname + NOCONFIGURE=1 ./autogen.sh +} + +build() { + cd $pkgname + ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ + --enable-gtk-doc --disable-static + + # 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 +} + +# vim:set ts=2 sw=2 et: