[arch-commits] Commit in algol68g/repos (6 files)

2017-06-23 Thread Alexander Rødseth
Date: Friday, June 23, 2017 @ 12:14:26
  Author: arodseth
Revision: 240351

archrelease: copy trunk to community-staging-x86_64, community-staging-i686

Added:
  algol68g/repos/community-staging-i686/
  algol68g/repos/community-staging-i686/PKGBUILD
(from rev 240350, algol68g/trunk/PKGBUILD)
  algol68g/repos/community-staging-i686/plotutils.patch
(from rev 240350, algol68g/trunk/plotutils.patch)
  algol68g/repos/community-staging-x86_64/
  algol68g/repos/community-staging-x86_64/PKGBUILD
(from rev 240350, algol68g/trunk/PKGBUILD)
  algol68g/repos/community-staging-x86_64/plotutils.patch
(from rev 240350, algol68g/trunk/plotutils.patch)

--+
 community-staging-i686/PKGBUILD  |   44 +
 community-staging-i686/plotutils.patch   |   20 +
 community-staging-x86_64/PKGBUILD|   44 +
 community-staging-x86_64/plotutils.patch |   20 +
 4 files changed, 128 insertions(+)

Copied: algol68g/repos/community-staging-i686/PKGBUILD (from rev 240350, 
algol68g/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2017-06-23 12:14:26 UTC (rev 240351)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Alexander F Rødseth 
+# Contributor: karolina.lindqv...@kramnet.se
+
+pkgname=('algol68g' 'algol68g-doc')
+pkgver=2.8.4
+pkgrel=3
+pkgdesc='Algol 68 compiler and interpreter'
+arch=('x86_64' 'i686')
+url='https://jmvdveer.home.xs4all.nl/algol.html'
+license=('GPL')
+depends=('gsl' 'plotutils')
+optdepends=('postgresql-libs: for postgresql support')
+source=("https://jmvdveer.home.xs4all.nl/algol68g-$pkgver.tar.gz";
+'plotutils.patch'
+'ftp://ftp.stu.edu.tw/FreeBSD/distfiles/a68g-doc.pdf')
+sha256sums=('5823ccd0c18fe10a368a117cc3924748c4a5d0fe8dff0d9d818ff73c342565f0'
+'50afcc7812d117e5f0a2f5240c9cd58f8bfcc04b3da0634b9aa0ab06183ed0aa'
+'064b6761207d937aa704d245fc871a072f5a33ea23a346cb136ec8b2078ea321')
+
+prepare() {
+  cd "$pkgname-$pkgver"
+
+  patch -p1 -i ../plotutils.patch
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+
+  ./configure --prefix=/usr
+  make
+}
+
+package_algol68g() {
+  make -C "$pkgname-$pkgver" DESTDIR="$pkgdir" \
+docdir="/usr/share/doc/$pkgname" install
+}
+
+package_algol68g-doc() {
+  install -Dm644 a68g-doc.pdf \
+"$pkgdir/usr/share/doc/algol68g/learning_algol.pdf"
+}
+
+# vim:set ts=2 sw=2 et:

Copied: algol68g/repos/community-staging-i686/plotutils.patch (from rev 240350, 
algol68g/trunk/plotutils.patch)
===
--- community-staging-i686/plotutils.patch  (rev 0)
+++ community-staging-i686/plotutils.patch  2017-06-23 12:14:26 UTC (rev 
240351)
@@ -0,0 +1,20 @@
+--- ./source/plotutils.c.orig  2012-04-05 00:44:52.0 +0200
 ./source/plotutils.c   2012-04-28 05:27:04.0 +0200
+@@ -1018,7 +1018,7 @@
+ X_COORD (&DEVICE (f)) = 0;
+ Y_COORD (&DEVICE (f)) = 0;
+ return (PLOTTER (&DEVICE (f)));
+-  } else if (!strcmp (device_type, "gif")) {
++  } else if (!strcmp (device_type, "gif") || !strcmp (device_type, "png")) {
+ /*+
+ | Supported plotter type - pseudo GIF |
+ +*/
+@@ -1059,7 +1059,7 @@
+ (void) pl_setplparam (PLOTTER_PARAMS (&DEVICE (f)), "BITMAPSIZE", size);
+ (void) pl_setplparam (PLOTTER_PARAMS (&DEVICE (f)), "BG_COLOR", (void *) 
"black");
+ (void) pl_setplparam (PLOTTER_PARAMS (&DEVICE (f)), "GIF_ANIMATION", 
(void *) "no");
+-PLOTTER (&DEVICE (f)) = pl_newpl_r ("gif", NULL, STREAM (&DEVICE (f)), 
stderr, PLOTTER_PARAMS (&DEVICE (f)));
++PLOTTER (&DEVICE (f)) = pl_newpl_r (device_type, NULL, STREAM (&DEVICE 
(f)), stderr, PLOTTER_PARAMS (&DEVICE (f)));
+ if (PLOTTER (&DEVICE (f)) == NULL) {
+   diagnostic_node (A68_RUNTIME_ERROR, p, ERROR_DEVICE_CANNOT_OPEN);
+   exit_genie (p, A68_RUNTIME_ERROR);

Copied: algol68g/repos/community-staging-x86_64/PKGBUILD (from rev 240350, 
algol68g/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2017-06-23 12:14:26 UTC (rev 240351)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Alexander F Rødseth 
+# Contributor: karolina.lindqv...@kramnet.se
+
+pkgname=('algol68g' 'algol68g-doc')
+pkgver=2.8.4
+pkgrel=3
+pkgdesc='Algol 68 compiler and interpreter'
+arch=('x86_64' 'i686')
+url='https://jmvdveer.home.xs4all.nl/algol.html'
+license=('GPL')
+depends=('gsl' 'plotutils')
+optdepends=('postgresql-libs: for postgresql support')
+source=("https://jmvdveer.home.xs4all.nl/algol68g-$pkgver.tar.gz";
+'plotutils.patch'
+'ftp://ftp.stu.edu.tw/FreeBSD/distfiles/a68g-doc.pdf'

[arch-commits] Commit in algol68g/repos (6 files)

2016-11-06 Thread Bartłomiej Piotrowski
Date: Sunday, November 6, 2016 @ 20:31:40
  Author: bpiotrowski
Revision: 194800

archrelease: copy trunk to community-staging-x86_64, community-staging-i686

Added:
  algol68g/repos/community-staging-i686/
  algol68g/repos/community-staging-i686/PKGBUILD
(from rev 194799, algol68g/trunk/PKGBUILD)
  algol68g/repos/community-staging-i686/plotutils.patch
(from rev 194799, algol68g/trunk/plotutils.patch)
  algol68g/repos/community-staging-x86_64/
  algol68g/repos/community-staging-x86_64/PKGBUILD
(from rev 194799, algol68g/trunk/PKGBUILD)
  algol68g/repos/community-staging-x86_64/plotutils.patch
(from rev 194799, algol68g/trunk/plotutils.patch)

--+
 community-staging-i686/PKGBUILD  |   44 +
 community-staging-i686/plotutils.patch   |   20 +
 community-staging-x86_64/PKGBUILD|   44 +
 community-staging-x86_64/plotutils.patch |   20 +
 4 files changed, 128 insertions(+)

Copied: algol68g/repos/community-staging-i686/PKGBUILD (from rev 194799, 
algol68g/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-11-06 20:31:40 UTC (rev 194800)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Alexander F Rødseth 
+# Contributor: karolina.lindqv...@kramnet.se
+
+pkgname=('algol68g' 'algol68g-doc')
+pkgver=2.8.4
+pkgrel=2
+pkgdesc='Algol 68 compiler and interpreter'
+arch=('x86_64' 'i686')
+url='https://jmvdveer.home.xs4all.nl/algol.html'
+license=('GPL')
+depends=('gsl' 'plotutils')
+optdepends=('postgresql-libs: for postgresql support')
+source=("https://jmvdveer.home.xs4all.nl/algol68g-$pkgver.tar.gz";
+'plotutils.patch'
+'ftp://ftp.stu.edu.tw/FreeBSD/distfiles/a68g-doc.pdf')
+sha256sums=('5823ccd0c18fe10a368a117cc3924748c4a5d0fe8dff0d9d818ff73c342565f0'
+'50afcc7812d117e5f0a2f5240c9cd58f8bfcc04b3da0634b9aa0ab06183ed0aa'
+'064b6761207d937aa704d245fc871a072f5a33ea23a346cb136ec8b2078ea321')
+
+prepare() {
+  cd "$pkgname-$pkgver"
+
+  patch -p1 -i ../plotutils.patch
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+
+  ./configure --prefix=/usr
+  make
+}
+
+package_algol68g() {
+  make -C "$pkgname-$pkgver" DESTDIR="$pkgdir" \
+docdir="/usr/share/doc/$pkgname" install
+}
+
+package_algol68g-doc() {
+  install -Dm644 a68g-doc.pdf \
+"$pkgdir/usr/share/doc/algol68g/learning_algol.pdf"
+}
+
+# vim:set ts=2 sw=2 et:

Copied: algol68g/repos/community-staging-i686/plotutils.patch (from rev 194799, 
algol68g/trunk/plotutils.patch)
===
--- community-staging-i686/plotutils.patch  (rev 0)
+++ community-staging-i686/plotutils.patch  2016-11-06 20:31:40 UTC (rev 
194800)
@@ -0,0 +1,20 @@
+--- ./source/plotutils.c.orig  2012-04-05 00:44:52.0 +0200
 ./source/plotutils.c   2012-04-28 05:27:04.0 +0200
+@@ -1018,7 +1018,7 @@
+ X_COORD (&DEVICE (f)) = 0;
+ Y_COORD (&DEVICE (f)) = 0;
+ return (PLOTTER (&DEVICE (f)));
+-  } else if (!strcmp (device_type, "gif")) {
++  } else if (!strcmp (device_type, "gif") || !strcmp (device_type, "png")) {
+ /*+
+ | Supported plotter type - pseudo GIF |
+ +*/
+@@ -1059,7 +1059,7 @@
+ (void) pl_setplparam (PLOTTER_PARAMS (&DEVICE (f)), "BITMAPSIZE", size);
+ (void) pl_setplparam (PLOTTER_PARAMS (&DEVICE (f)), "BG_COLOR", (void *) 
"black");
+ (void) pl_setplparam (PLOTTER_PARAMS (&DEVICE (f)), "GIF_ANIMATION", 
(void *) "no");
+-PLOTTER (&DEVICE (f)) = pl_newpl_r ("gif", NULL, STREAM (&DEVICE (f)), 
stderr, PLOTTER_PARAMS (&DEVICE (f)));
++PLOTTER (&DEVICE (f)) = pl_newpl_r (device_type, NULL, STREAM (&DEVICE 
(f)), stderr, PLOTTER_PARAMS (&DEVICE (f)));
+ if (PLOTTER (&DEVICE (f)) == NULL) {
+   diagnostic_node (A68_RUNTIME_ERROR, p, ERROR_DEVICE_CANNOT_OPEN);
+   exit_genie (p, A68_RUNTIME_ERROR);

Copied: algol68g/repos/community-staging-x86_64/PKGBUILD (from rev 194799, 
algol68g/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-11-06 20:31:40 UTC (rev 194800)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Alexander F Rødseth 
+# Contributor: karolina.lindqv...@kramnet.se
+
+pkgname=('algol68g' 'algol68g-doc')
+pkgver=2.8.4
+pkgrel=2
+pkgdesc='Algol 68 compiler and interpreter'
+arch=('x86_64' 'i686')
+url='https://jmvdveer.home.xs4all.nl/algol.html'
+license=('GPL')
+depends=('gsl' 'plotutils')
+optdepends=('postgresql-libs: for postgresql support')
+source=("https://jmvdveer.home.xs4all.nl/algol68g-$pkgver.tar.gz";
+'plotutils.patch'
+'ftp://ftp.stu.edu.tw/FreeBSD/distfiles/a68g-do

[arch-commits] Commit in algol68g/repos (6 files)

2016-02-20 Thread Alexander Rødseth
Date: Saturday, February 20, 2016 @ 19:23:02
  Author: arodseth
Revision: 162865

archrelease: copy trunk to community-staging-x86_64, community-staging-i686

Added:
  algol68g/repos/community-staging-i686/
  algol68g/repos/community-staging-i686/PKGBUILD
(from rev 162864, algol68g/trunk/PKGBUILD)
  algol68g/repos/community-staging-i686/plotutils.patch
(from rev 162864, algol68g/trunk/plotutils.patch)
  algol68g/repos/community-staging-x86_64/
  algol68g/repos/community-staging-x86_64/PKGBUILD
(from rev 162864, algol68g/trunk/PKGBUILD)
  algol68g/repos/community-staging-x86_64/plotutils.patch
(from rev 162864, algol68g/trunk/plotutils.patch)

--+
 community-staging-i686/PKGBUILD  |   45 +
 community-staging-i686/plotutils.patch   |   20 
 community-staging-x86_64/PKGBUILD|   45 +
 community-staging-x86_64/plotutils.patch |   20 
 4 files changed, 130 insertions(+)

Copied: algol68g/repos/community-staging-i686/PKGBUILD (from rev 162864, 
algol68g/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-02-20 18:23:02 UTC (rev 162865)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Alexander F Rødseth 
+# Contributor: karolina.lindqv...@kramnet.se
+
+pkgbase=algol68k
+pkgname=('algol68g' 'algol68g-doc')
+pkgver=2.8
+pkgrel=3
+pkgdesc='Algol 68 Genie, an Algol 68 compiler-interpreter'
+arch=('x86_64' 'i686')
+url='http://www.xs4all.nl/~jmvdveer/algol.html'
+license=('GPL')
+depends=('gsl' 'plotutils')
+optdepends=('postgresql-libs: for postgresql support')
+source=("https://distfiles.macports.org/algol68g/algol68g-$pkgver.tar.gz";
+'plotutils.patch'
+'http://ftp.genotec.ch/pub/FreeBSD/ports/distfiles/a68g-doc.pdf')
+sha256sums=('0c6fc7213f5a00f978faef2d09622d2c3ee01c87594dd6f5c51cd532b719861a'
+'50afcc7812d117e5f0a2f5240c9cd58f8bfcc04b3da0634b9aa0ab06183ed0aa'
+'064b6761207d937aa704d245fc871a072f5a33ea23a346cb136ec8b2078ea321')
+
+prepare() {
+  cd "$pkgname-$pkgver"
+
+  patch -p1 -i ../plotutils.patch
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+
+  ./configure --prefix=/usr
+  make
+}
+
+package_algol68g() {
+  make -C "$pkgname-$pkgver" DESTDIR="$pkgdir" \
+docdir="/usr/share/doc/$pkgname" install
+}
+
+package_algol68g-doc() {
+  install -Dm644 a68g-doc.pdf \
+"$pkgdir/usr/share/doc/algol68g/learning_algol.pdf"
+}
+
+# vim:set ts=2 sw=2 et:

Copied: algol68g/repos/community-staging-i686/plotutils.patch (from rev 162864, 
algol68g/trunk/plotutils.patch)
===
--- community-staging-i686/plotutils.patch  (rev 0)
+++ community-staging-i686/plotutils.patch  2016-02-20 18:23:02 UTC (rev 
162865)
@@ -0,0 +1,20 @@
+--- ./source/plotutils.c.orig  2012-04-05 00:44:52.0 +0200
 ./source/plotutils.c   2012-04-28 05:27:04.0 +0200
+@@ -1018,7 +1018,7 @@
+ X_COORD (&DEVICE (f)) = 0;
+ Y_COORD (&DEVICE (f)) = 0;
+ return (PLOTTER (&DEVICE (f)));
+-  } else if (!strcmp (device_type, "gif")) {
++  } else if (!strcmp (device_type, "gif") || !strcmp (device_type, "png")) {
+ /*+
+ | Supported plotter type - pseudo GIF |
+ +*/
+@@ -1059,7 +1059,7 @@
+ (void) pl_setplparam (PLOTTER_PARAMS (&DEVICE (f)), "BITMAPSIZE", size);
+ (void) pl_setplparam (PLOTTER_PARAMS (&DEVICE (f)), "BG_COLOR", (void *) 
"black");
+ (void) pl_setplparam (PLOTTER_PARAMS (&DEVICE (f)), "GIF_ANIMATION", 
(void *) "no");
+-PLOTTER (&DEVICE (f)) = pl_newpl_r ("gif", NULL, STREAM (&DEVICE (f)), 
stderr, PLOTTER_PARAMS (&DEVICE (f)));
++PLOTTER (&DEVICE (f)) = pl_newpl_r (device_type, NULL, STREAM (&DEVICE 
(f)), stderr, PLOTTER_PARAMS (&DEVICE (f)));
+ if (PLOTTER (&DEVICE (f)) == NULL) {
+   diagnostic_node (A68_RUNTIME_ERROR, p, ERROR_DEVICE_CANNOT_OPEN);
+   exit_genie (p, A68_RUNTIME_ERROR);

Copied: algol68g/repos/community-staging-x86_64/PKGBUILD (from rev 162864, 
algol68g/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-02-20 18:23:02 UTC (rev 162865)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Alexander F Rødseth 
+# Contributor: karolina.lindqv...@kramnet.se
+
+pkgbase=algol68k
+pkgname=('algol68g' 'algol68g-doc')
+pkgver=2.8
+pkgrel=3
+pkgdesc='Algol 68 Genie, an Algol 68 compiler-interpreter'
+arch=('x86_64' 'i686')
+url='http://www.xs4all.nl/~jmvdveer/algol.html'
+license=('GPL')
+depends=('gsl' 'plotutils')
+optdepends=('postgresql-libs: for postgresql support')
+source=("https://distfiles.macports.org/algol68g/algol68g-$pkgver.tar.gz"

[arch-commits] Commit in algol68g/repos (6 files)

2015-09-08 Thread Evangelos Foutras
Date: Tuesday, September 8, 2015 @ 11:52:07
  Author: foutrelis
Revision: 139589

archrelease: copy trunk to community-staging-x86_64, community-staging-i686

Added:
  algol68g/repos/community-staging-i686/
  algol68g/repos/community-staging-i686/PKGBUILD
(from rev 139588, algol68g/trunk/PKGBUILD)
  algol68g/repos/community-staging-i686/plotutils.patch
(from rev 139588, algol68g/trunk/plotutils.patch)
  algol68g/repos/community-staging-x86_64/
  algol68g/repos/community-staging-x86_64/PKGBUILD
(from rev 139588, algol68g/trunk/PKGBUILD)
  algol68g/repos/community-staging-x86_64/plotutils.patch
(from rev 139588, algol68g/trunk/plotutils.patch)

--+
 community-staging-i686/PKGBUILD  |   38 +
 community-staging-i686/plotutils.patch   |   20 +++
 community-staging-x86_64/PKGBUILD|   38 +
 community-staging-x86_64/plotutils.patch |   20 +++
 4 files changed, 116 insertions(+)

Copied: algol68g/repos/community-staging-i686/PKGBUILD (from rev 139588, 
algol68g/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2015-09-08 09:52:07 UTC (rev 139589)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Alexander Rødseth 
+# Contributor: karolina.lindqv...@kramnet.se
+
+pkgname=algol68g
+pkgver=2.8
+pkgrel=2
+pkgdesc='Algol 68 Genie, an Algol 68 compiler-interpreter'
+arch=('x86_64' 'i686')
+url='http://www.xs4all.nl/~jmvdveer/algol.html'
+license=('GPL')
+depends=('gsl' 'plotutils')
+optdepends=('postgresql-libs: for postgresql support')
+source=("https://distfiles.macports.org/algol68g/algol68g-$pkgver.tar.gz";
+'plotutils.patch')
+sha256sums=('0c6fc7213f5a00f978faef2d09622d2c3ee01c87594dd6f5c51cd532b719861a'
+'50afcc7812d117e5f0a2f5240c9cd58f8bfcc04b3da0634b9aa0ab06183ed0aa')
+
+prepare() {
+  cd "$pkgname-$pkgver"
+
+  patch -p1 -i ../plotutils.patch
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+
+  make DESTDIR="$pkgdir" docdir="/usr/share/doc/$pkgname" install
+}
+
+# vim:set ts=2 sw=2 et:

Copied: algol68g/repos/community-staging-i686/plotutils.patch (from rev 139588, 
algol68g/trunk/plotutils.patch)
===
--- community-staging-i686/plotutils.patch  (rev 0)
+++ community-staging-i686/plotutils.patch  2015-09-08 09:52:07 UTC (rev 
139589)
@@ -0,0 +1,20 @@
+--- ./source/plotutils.c.orig  2012-04-05 00:44:52.0 +0200
 ./source/plotutils.c   2012-04-28 05:27:04.0 +0200
+@@ -1018,7 +1018,7 @@
+ X_COORD (&DEVICE (f)) = 0;
+ Y_COORD (&DEVICE (f)) = 0;
+ return (PLOTTER (&DEVICE (f)));
+-  } else if (!strcmp (device_type, "gif")) {
++  } else if (!strcmp (device_type, "gif") || !strcmp (device_type, "png")) {
+ /*+
+ | Supported plotter type - pseudo GIF |
+ +*/
+@@ -1059,7 +1059,7 @@
+ (void) pl_setplparam (PLOTTER_PARAMS (&DEVICE (f)), "BITMAPSIZE", size);
+ (void) pl_setplparam (PLOTTER_PARAMS (&DEVICE (f)), "BG_COLOR", (void *) 
"black");
+ (void) pl_setplparam (PLOTTER_PARAMS (&DEVICE (f)), "GIF_ANIMATION", 
(void *) "no");
+-PLOTTER (&DEVICE (f)) = pl_newpl_r ("gif", NULL, STREAM (&DEVICE (f)), 
stderr, PLOTTER_PARAMS (&DEVICE (f)));
++PLOTTER (&DEVICE (f)) = pl_newpl_r (device_type, NULL, STREAM (&DEVICE 
(f)), stderr, PLOTTER_PARAMS (&DEVICE (f)));
+ if (PLOTTER (&DEVICE (f)) == NULL) {
+   diagnostic_node (A68_RUNTIME_ERROR, p, ERROR_DEVICE_CANNOT_OPEN);
+   exit_genie (p, A68_RUNTIME_ERROR);

Copied: algol68g/repos/community-staging-x86_64/PKGBUILD (from rev 139588, 
algol68g/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2015-09-08 09:52:07 UTC (rev 139589)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Alexander Rødseth 
+# Contributor: karolina.lindqv...@kramnet.se
+
+pkgname=algol68g
+pkgver=2.8
+pkgrel=2
+pkgdesc='Algol 68 Genie, an Algol 68 compiler-interpreter'
+arch=('x86_64' 'i686')
+url='http://www.xs4all.nl/~jmvdveer/algol.html'
+license=('GPL')
+depends=('gsl' 'plotutils')
+optdepends=('postgresql-libs: for postgresql support')
+source=("https://distfiles.macports.org/algol68g/algol68g-$pkgver.tar.gz";
+'plotutils.patch')
+sha256sums=('0c6fc7213f5a00f978faef2d09622d2c3ee01c87594dd6f5c51cd532b719861a'
+'50afcc7812d117e5f0a2f5240c9cd58f8bfcc04b3da0634b9aa0ab06183ed0aa')
+
+prepare() {
+  cd "$pkgname-$pkgver"
+
+  patch -p1 -i ../plotutils.patch
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+
+  ./configure --prefix=/usr
+  make
+}
+
+pack