[arch-commits] Commit in gnome-calculator/repos (6 files)

Jan de Groot jgc at archlinux.org
Tue Mar 22 15:39:16 UTC 2016


    Date: Tuesday, March 22, 2016 @ 16:39:15
  Author: jgc
Revision: 262390

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 262389, gnome-calculator/trunk/PKGBUILD)
  gnome-calculator/repos/gnome-unstable-i686/gnome-calculator.install
    (from rev 262389, gnome-calculator/trunk/gnome-calculator.install)
  gnome-calculator/repos/gnome-unstable-x86_64/
  gnome-calculator/repos/gnome-unstable-x86_64/PKGBUILD
    (from rev 262389, gnome-calculator/trunk/PKGBUILD)
  gnome-calculator/repos/gnome-unstable-x86_64/gnome-calculator.install
    (from rev 262389, gnome-calculator/trunk/gnome-calculator.install)

------------------------------------------------+
 gnome-unstable-i686/PKGBUILD                   |   33 +++++++++++++++++++++++
 gnome-unstable-i686/gnome-calculator.install   |   11 +++++++
 gnome-unstable-x86_64/PKGBUILD                 |   33 +++++++++++++++++++++++
 gnome-unstable-x86_64/gnome-calculator.install |   11 +++++++
 4 files changed, 88 insertions(+)

Copied: gnome-calculator/repos/gnome-unstable-i686/PKGBUILD (from rev 262389, gnome-calculator/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-i686/PKGBUILD	                        (rev 0)
+++ gnome-unstable-i686/PKGBUILD	2016-03-22 15:39:15 UTC (rev 262390)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+
+pkgname=gnome-calculator
+pkgver=3.20.0
+pkgrel=1
+pkgdesc="GNOME Scientific calculator"
+arch=('i686' 'x86_64')
+license=('GPL')
+depends=('gtk3' 'dconf' 'gtksourceview3' 'mpfr')
+makedepends=('intltool' 'yelp-tools' 'vala')
+groups=('gnome')
+replaces=('gcalctool')
+conflicts=('gcalctool')
+options=(!emptydirs)
+url="http://www.gnome.org"
+install=gnome-calculator.install
+source=(https://download.gnome.org/sources/${pkgname}/${pkgver:0:4}/${pkgname}-${pkgver}.tar.xz)
+sha256sums=('504da356f4ab9d2a6ec989e2769ccf00afdbfb5aa8bd57e60c1e8f21652e0c92')
+
+build() {
+  cd $pkgname-$pkgver
+  ./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-$pkgver
+  make DESTDIR="${pkgdir}" install
+}

Copied: gnome-calculator/repos/gnome-unstable-i686/gnome-calculator.install (from rev 262389, gnome-calculator/trunk/gnome-calculator.install)
===================================================================
--- gnome-unstable-i686/gnome-calculator.install	                        (rev 0)
+++ gnome-unstable-i686/gnome-calculator.install	2016-03-22 15:39:15 UTC (rev 262390)
@@ -0,0 +1,11 @@
+post_install() {
+  usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+post_remove() {
+  post_install $1
+}

Copied: gnome-calculator/repos/gnome-unstable-x86_64/PKGBUILD (from rev 262389, gnome-calculator/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD	                        (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD	2016-03-22 15:39:15 UTC (rev 262390)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+
+pkgname=gnome-calculator
+pkgver=3.20.0
+pkgrel=1
+pkgdesc="GNOME Scientific calculator"
+arch=('i686' 'x86_64')
+license=('GPL')
+depends=('gtk3' 'dconf' 'gtksourceview3' 'mpfr')
+makedepends=('intltool' 'yelp-tools' 'vala')
+groups=('gnome')
+replaces=('gcalctool')
+conflicts=('gcalctool')
+options=(!emptydirs)
+url="http://www.gnome.org"
+install=gnome-calculator.install
+source=(https://download.gnome.org/sources/${pkgname}/${pkgver:0:4}/${pkgname}-${pkgver}.tar.xz)
+sha256sums=('504da356f4ab9d2a6ec989e2769ccf00afdbfb5aa8bd57e60c1e8f21652e0c92')
+
+build() {
+  cd $pkgname-$pkgver
+  ./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-$pkgver
+  make DESTDIR="${pkgdir}" install
+}

Copied: gnome-calculator/repos/gnome-unstable-x86_64/gnome-calculator.install (from rev 262389, gnome-calculator/trunk/gnome-calculator.install)
===================================================================
--- gnome-unstable-x86_64/gnome-calculator.install	                        (rev 0)
+++ gnome-unstable-x86_64/gnome-calculator.install	2016-03-22 15:39:15 UTC (rev 262390)
@@ -0,0 +1,11 @@
+post_install() {
+  usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+post_remove() {
+  post_install $1
+}



More information about the arch-commits mailing list