diff options
author | root <root@rshg047.dnsready.net> | 2011-04-08 04:18:44 +0000 |
---|---|---|
committer | root <root@rshg047.dnsready.net> | 2011-04-08 04:18:44 +0000 |
commit | 59075f0265483f32e9ac4c67ba9e69cb019ba044 (patch) | |
tree | d0384b724b17b888dcd1cf06dce9bc25655d1ba1 /testing/gcalctool | |
parent | 3b216f42d91b33161572550f4556a9ba93d1cecb (diff) |
Fri Apr 8 04:18:44 UTC 2011
Diffstat (limited to 'testing/gcalctool')
-rw-r--r-- | testing/gcalctool/PKGBUILD | 29 | ||||
-rw-r--r-- | testing/gcalctool/gcalctool.install | 11 |
2 files changed, 40 insertions, 0 deletions
diff --git a/testing/gcalctool/PKGBUILD b/testing/gcalctool/PKGBUILD new file mode 100644 index 000000000..ecc313858 --- /dev/null +++ b/testing/gcalctool/PKGBUILD @@ -0,0 +1,29 @@ +# $Id: PKGBUILD 117557 2011-04-04 10:43:54Z ibiru $ +# Maintainer: Jan de Groot <jgc@archlinux.org> + +pkgname=gcalctool +pkgver=6.0.0 +pkgrel=1 +pkgdesc="GNOME Scientific calculator" +arch=('i686' 'x86_64') +license=('GPL') +depends=('gtk3' 'dconf') +makedepends=('intltool' 'gnome-doc-utils') +groups=('gnome-extra') +options=(!emptydirs) +url="http://www.gnome.org" +install=gcalctool.install +source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2) +sha256sums=('efada505801df4fc046ef22e9786d9ba535935d07e87f45f5a10f7624836c036') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure --prefix=/usr --sysconfdir=/etc --disable-schemas-compile \ + --localstatedir=/var --disable-scrollkeeper + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} diff --git a/testing/gcalctool/gcalctool.install b/testing/gcalctool/gcalctool.install new file mode 100644 index 000000000..2ef26aaa9 --- /dev/null +++ b/testing/gcalctool/gcalctool.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 +} |