Date: Tuesday, September 27, 2016 @ 21:13:53 Author: heftig Revision: 277191
archrelease: copy trunk to gnome-unstable-i686, gnome-unstable-x86_64 Added: gnome-calculator/repos/gnome-unstable-i686/ gnome-calculator/repos/gnome-unstable-i686/PKGBUILD (from rev 277190, gnome-calculator/trunk/PKGBUILD) gnome-calculator/repos/gnome-unstable-x86_64/ gnome-calculator/repos/gnome-unstable-x86_64/PKGBUILD (from rev 277190, gnome-calculator/trunk/PKGBUILD) --------------------------------+ gnome-unstable-i686/PKGBUILD | 41 +++++++++++++++++++++++++++++++++++++++ gnome-unstable-x86_64/PKGBUILD | 41 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 82 insertions(+) Copied: gnome-calculator/repos/gnome-unstable-i686/PKGBUILD (from rev 277190, gnome-calculator/trunk/PKGBUILD) =================================================================== --- gnome-unstable-i686/PKGBUILD (rev 0) +++ gnome-unstable-i686/PKGBUILD 2016-09-27 21:13:53 UTC (rev 277191) @@ -0,0 +1,41 @@ +# $Id$ +# Maintainer: Jan Alexander Steffens (heftig) <jan.steff...@gmail.com> +# Contributor: Jan de Groot <j...@archlinux.org> + +pkgname=gnome-calculator +pkgver=3.22.0 +pkgrel=1 +pkgdesc="GNOME Scientific calculator" +url="https://wiki.gnome.org/Apps/Calculator" +arch=(i686 x86_64) +license=(GPL) +depends=(gtk3 dconf gtksourceview3 mpfr libsoup) +makedepends=(intltool yelp-tools vala git) +groups=(gnome) +options=(!emptydirs) +_commit=a654408d71946d47fbd0b1be48bd389b7a886430 # tags/3.22.0^0 +source=("git://git.gnome.org/gnome-calculator#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 --disable-schemas-compile \ + --localstatedir=/var --libexecdir=/usr/lib/gnome-calculator + sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool + make +} + +package() { + cd $pkgname + make DESTDIR="${pkgdir}" install +} Copied: gnome-calculator/repos/gnome-unstable-x86_64/PKGBUILD (from rev 277190, gnome-calculator/trunk/PKGBUILD) =================================================================== --- gnome-unstable-x86_64/PKGBUILD (rev 0) +++ gnome-unstable-x86_64/PKGBUILD 2016-09-27 21:13:53 UTC (rev 277191) @@ -0,0 +1,41 @@ +# $Id$ +# Maintainer: Jan Alexander Steffens (heftig) <jan.steff...@gmail.com> +# Contributor: Jan de Groot <j...@archlinux.org> + +pkgname=gnome-calculator +pkgver=3.22.0 +pkgrel=1 +pkgdesc="GNOME Scientific calculator" +url="https://wiki.gnome.org/Apps/Calculator" +arch=(i686 x86_64) +license=(GPL) +depends=(gtk3 dconf gtksourceview3 mpfr libsoup) +makedepends=(intltool yelp-tools vala git) +groups=(gnome) +options=(!emptydirs) +_commit=a654408d71946d47fbd0b1be48bd389b7a886430 # tags/3.22.0^0 +source=("git://git.gnome.org/gnome-calculator#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 --disable-schemas-compile \ + --localstatedir=/var --libexecdir=/usr/lib/gnome-calculator + sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool + make +} + +package() { + cd $pkgname + make DESTDIR="${pkgdir}" install +}