[arch-commits] Commit in gnome-calculator/repos (2 files)
Bartłomiej Piotrowski
bpiotrowski at archlinux.org
Thu Jan 18 21:02:33 UTC 2018
Date: Thursday, January 18, 2018 @ 21:02:33
Author: bpiotrowski
Revision: 315106
archrelease: copy trunk to staging-x86_64
Added:
gnome-calculator/repos/staging-x86_64/
gnome-calculator/repos/staging-x86_64/PKGBUILD
(from rev 315105, gnome-calculator/trunk/PKGBUILD)
----------+
PKGBUILD | 41 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
Copied: gnome-calculator/repos/staging-x86_64/PKGBUILD (from rev 315105, gnome-calculator/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2018-01-18 21:02:33 UTC (rev 315106)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+
+pkgname=gnome-calculator
+pkgver=3.26.0
+pkgrel=2
+pkgdesc="GNOME Scientific calculator"
+url="https://wiki.gnome.org/Apps/Calculator"
+arch=(x86_64)
+license=(GPL)
+depends=(gtk3 dconf gtksourceview3 mpfr libsoup libmpc)
+makedepends=(intltool yelp-tools vala git appstream-glib)
+groups=(gnome)
+options=(!emptydirs)
+_commit=b2d0bb15ec8618b0bfc2350d556b688086d4a3b9 # tags/3.26.0^0
+source=("git+https://git.gnome.org/browse/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
+}
More information about the arch-commits
mailing list