summaryrefslogtreecommitdiff
path: root/community/galculator
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2012-10-21 10:47:37 +0200
committerMichał Masłowski <mtjm@mtjm.eu>2012-10-21 10:47:37 +0200
commitaec9ffe68488d34c02bceb4942b87779f5c460d5 (patch)
tree5aaa0d61510bf94c4dd5bd751b53f61d39817e96 /community/galculator
parent59d570b2f4d752b3cd4dfcdf2ce8c75993d9c2eb (diff)
parent9598f5141ea75ffa72a3c7c85639c6f296020ef1 (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts: community-staging/projectm/PKGBUILD community-testing/evas_generic_loaders-svn/PKGBUILD community-testing/gambas2/PKGBUILD community-testing/gambas3/PKGBUILD community-testing/libextractor/PKGBUILD community-testing/pdf2djvu/PKGBUILD community-testing/qtcreator/PKGBUILD community-testing/qtcreator/qtcreator.desktop community/galculator/PKGBUILD community/ristretto/PKGBUILD core/systemd/PKGBUILD extra/llvm/PKGBUILD extra/pyqt/PKGBUILD extra/python-lxml/PKGBUILD multilib/lib32-util-linux/PKGBUILD staging/glew/PKGBUILD staging/xine-lib/PKGBUILD testing/calligra/PKGBUILD testing/gdk-pixbuf2/PKGBUILD testing/gdm/PKGBUILD testing/gdm/fix_external_program_directories.patch testing/glib2/PKGBUILD testing/gnome-color-manager/PKGBUILD testing/gthumb/PKGBUILD testing/gtk3/PKGBUILD testing/gvfs/PKGBUILD testing/inkscape/PKGBUILD testing/kdebase-workspace/PKGBUILD testing/libreoffice/PKGBUILD testing/networkmanager/PKGBUILD testing/polkit/PKGBUILD testing/poppler/PKGBUILD testing/rhythmbox/PKGBUILD testing/xorg-server/PKGBUILD testing/xorg-xdm/PKGBUILD
Diffstat (limited to 'community/galculator')
-rw-r--r--community/galculator/PKGBUILD21
-rw-r--r--community/galculator/galculator.install1
2 files changed, 12 insertions, 10 deletions
diff --git a/community/galculator/PKGBUILD b/community/galculator/PKGBUILD
index aa61c2a5e..f61078339 100644
--- a/community/galculator/PKGBUILD
+++ b/community/galculator/PKGBUILD
@@ -1,22 +1,23 @@
+# $Id: PKGBUILD 78485 2012-10-19 15:50:56Z bpiotrowski $
# Maintainer: Bartłomiej Piotrowski <barthalion@gmail.com>
# Contributor: SpepS <dreamspepser at yahoo dot it>
# Contributor: Alexander Fehr <pizzapunk gmail com>
pkgname=galculator
-pkgver=1.3.4
-pkgrel=2
-pkgdesc="GTK+ based scientific calculator"
+pkgver=2.0
+pkgrel=1
+pkgdesc='GTK+ based scientific calculator'
arch=('i686' 'x86_64' 'mips64el')
-url="http://galculator.sourceforge.net/"
+url='http://galculator.sourceforge.net/'
license=('GPL')
-depends=('libglade')
+depends=('gtk3' 'hicolor-icon-theme' 'gtk-update-icon-cache' 'desktop-file-utils')
makedepends=('intltool')
-install="$pkgname.install"
-source=("http://downloads.sourceforge.net/galculator/galculator-$pkgver.tar.bz2")
-md5sums=('d30e6fbf5947bb1c873bc9d5a21046f1')
+install=$pkgname.install
+source=(http://downloads.sourceforge.net/galculator/galculator-$pkgver.tar.bz2)
+md5sums=('2bec5c1cdab9c5421855f878f8018929')
build() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd $srcdir/$pkgname-$pkgver
LDFLAGS+=' -lm'
./configure --prefix=/usr
@@ -24,7 +25,7 @@ build() {
}
package() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd $srcdir/$pkgname-$pkgver
make DESTDIR="$pkgdir" install
}
diff --git a/community/galculator/galculator.install b/community/galculator/galculator.install
index a852f0449..fe845ffb1 100644
--- a/community/galculator/galculator.install
+++ b/community/galculator/galculator.install
@@ -1,5 +1,6 @@
post_install() {
update-desktop-database -q
+ [[ -e /usr/bin/gtk-update-icon-cache ]] && gtk-update-icon-cache
}
post_upgrade() {