summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorConnor Behan2016-04-28 13:31:27 -0400
committerConnor Behan2016-04-28 13:31:27 -0400
commita5db5417997823da4a45e8032b77c7af7529c258 (patch)
tree8b14d5fb69e5b69cbd900ddf0a62fd76a395e4dc
parentd4d96bbac6b9512da414fe8a624298dedbf9c91a (diff)
downloadaur-a5db5417997823da4a45e8032b77c7af7529c258.tar.gz
Update to 0.9.4-1
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD9
-rw-r--r--gracegtk.install14
3 files changed, 8 insertions, 22 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 019f6683905..37deb808502 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,8 @@
pkgbase = gracegtk
pkgdesc = A port of the Grace plotting tool to gtk2
- pkgver = 0.9.2
+ pkgver = 0.9.4
pkgrel = 1
url = http://plasma-gate.weizmann.ac.il/Grace/
- install = gracegtk.install
arch = i686
arch = x86_64
license = GPL
@@ -15,13 +14,13 @@ pkgbase = gracegtk
depends = netcdf
depends = pdflib-lite
depends = gtk2
- source = http://downloads.sourceforge.net/sourceforge/gracegtk/gracegtk-0.9.2_2014_08_25_08h44.tgz
+ source = http://downloads.sourceforge.net/sourceforge/gracegtk/gracegtk-0.9.4_2016_04_20_16h15.tgz
source = window_close.patch
source = gracegtk.png
source = gracegtk.desktop
source = gracegtk-mimetypes
source = ggrace
- md5sums = 4b63d4e98c21ad2c56257b5f2b1971b5
+ md5sums = b6716781546a5ff89825cc7f9f3799b8
md5sums = 05b430f86615ab1aea79cee6ca204792
md5sums = ef085e503d30207035f5dfbef648ed36
md5sums = 8427067a73698b5425901866ca3195d0
diff --git a/PKGBUILD b/PKGBUILD
index 0cd38d220cc..ab088b70303 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Contributor: Connor Behan <connor.behan@gmail.com>
pkgname=gracegtk
-pkgver=0.9.2
+pkgver=0.9.4
pkgrel=1
pkgdesc="A port of the Grace plotting tool to gtk2"
arch=(i686 x86_64)
@@ -9,8 +9,7 @@ url="http://plasma-gate.weizmann.ac.il/Grace/"
depends=('libjpeg' 'fftw' 't1lib' 'netcdf' 'pdflib-lite' 'gtk2')
makedepends=('linuxdoc-tools' 'gcc-fortran')
license=('GPL')
-install=gracegtk.install
-source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}_2014_08_25_08h44.tgz window_close.patch $pkgname.png $pkgname.desktop $pkgname-mimetypes ggrace)
+source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}_2016_04_20_16h15.tgz window_close.patch $pkgname.png $pkgname.desktop $pkgname-mimetypes ggrace)
build() {
cd "$srcdir"/$pkgname-$pkgver
@@ -29,6 +28,8 @@ build() {
sed -i -e 's|SIZEOF_DOUBLE|sizeof(double)|g' src/*.c
sed -i -e 's|SIZEOF_CHAR|sizeof(char)|g' src/*.c
sed -i -e 's|SIZEOF_VOID_P|sizeof(void *)|g' src/*.c grace_np/*.c
+
+ sed -i -e 's| -V -qversion||g' ./configure
./configure --prefix=/usr --with-f77=/usr/bin/gfortran
make
}
@@ -48,4 +49,4 @@ package() {
install -D -m644 "$srcdir/$pkgname-mimetypes" "$pkgdir/usr/share/mime/packages/$pkgname.xml"
}
-md5sums=('4b63d4e98c21ad2c56257b5f2b1971b5' '05b430f86615ab1aea79cee6ca204792' 'ef085e503d30207035f5dfbef648ed36' '8427067a73698b5425901866ca3195d0' '3beba5237f56a2ff28b6cd878865b25c' 'c22c24f810bf0e1f9b8ca8713be19e3e')
+md5sums=('b6716781546a5ff89825cc7f9f3799b8' '05b430f86615ab1aea79cee6ca204792' 'ef085e503d30207035f5dfbef648ed36' '8427067a73698b5425901866ca3195d0' '3beba5237f56a2ff28b6cd878865b25c' 'c22c24f810bf0e1f9b8ca8713be19e3e')
diff --git a/gracegtk.install b/gracegtk.install
deleted file mode 100644
index 702c510609b..00000000000
--- a/gracegtk.install
+++ /dev/null
@@ -1,14 +0,0 @@
-post_install() {
- echo "update mime database..."
- update-mime-database usr/share/mime > /dev/null
- echo "update desktop mime database..."
- update-desktop-database -q
-}
-
-post_upgrade() {
- post_install $1
-}
-
-post_remove() {
- post_install $1
-}