summaryrefslogtreecommitdiff
path: root/extra/gnome-calculator
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-04-23 01:16:16 -0700
committerroot <root@rshg054.dnsready.net>2013-04-23 01:16:16 -0700
commitd1d93fafb9ef98fdd0c9a5a486c179c03cbbfb33 (patch)
treeda594e49962aa1b32a81dd8066423c4fd5fdcec6 /extra/gnome-calculator
parenta5f6ca5d4e1aa12dfec53c3061df6e0198126fb4 (diff)
Tue Apr 23 01:16:16 PDT 2013
Diffstat (limited to 'extra/gnome-calculator')
-rw-r--r--extra/gnome-calculator/PKGBUILD32
-rw-r--r--extra/gnome-calculator/gnome-calculator.install11
2 files changed, 43 insertions, 0 deletions
diff --git a/extra/gnome-calculator/PKGBUILD b/extra/gnome-calculator/PKGBUILD
new file mode 100644
index 000000000..91bb8f9b3
--- /dev/null
+++ b/extra/gnome-calculator/PKGBUILD
@@ -0,0 +1,32 @@
+# $Id: PKGBUILD 183370 2013-04-21 22:09:37Z heftig $
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
+# Contributor: Jan de Groot <jgc@archlinux.org>
+
+pkgname=gnome-calculator
+pkgver=3.8.1
+pkgrel=1
+pkgdesc="GNOME Scientific calculator"
+arch=('i686' 'x86_64')
+license=('GPL')
+depends=('gtk3' 'dconf')
+makedepends=('intltool' 'yelp-tools' 'vala')
+groups=('gnome')
+replaces=('gcalctool')
+conflicts=('gcalctool')
+options=(!emptydirs)
+url="http://www.gnome.org"
+install=gnome-calculator.install
+source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/${pkgver::3}/${pkgname}-${pkgver}.tar.xz)
+sha256sums=('24ae856c90a3df62c52dc413ceb2c9bad15e7ad146de0469b53c70681a4ad435')
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr --sysconfdir=/etc --disable-schemas-compile \
+ --localstatedir=/var
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="${pkgdir}" install
+}
diff --git a/extra/gnome-calculator/gnome-calculator.install b/extra/gnome-calculator/gnome-calculator.install
new file mode 100644
index 000000000..2ef26aaa9
--- /dev/null
+++ b/extra/gnome-calculator/gnome-calculator.install
@@ -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
+}