summaryrefslogtreecommitdiff
path: root/community/algol68g
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-11 01:21:34 -0700
committerroot <root@rshg054.dnsready.net>2013-08-11 01:21:34 -0700
commit18a41d682d6e91e0d28fce23eb75292f477bd620 (patch)
treebce8f660d7d0b6541cadbc49bf1bac2434e4c0c6 /community/algol68g
parent0ade1da67addf154d93c6a6399b0a3d5a18a3336 (diff)
Sun Aug 11 01:21:31 PDT 2013
Diffstat (limited to 'community/algol68g')
-rw-r--r--community/algol68g/PKGBUILD41
-rw-r--r--community/algol68g/plotutils.patch20
2 files changed, 0 insertions, 61 deletions
diff --git a/community/algol68g/PKGBUILD b/community/algol68g/PKGBUILD
deleted file mode 100644
index 00b2e8305..000000000
--- a/community/algol68g/PKGBUILD
+++ /dev/null
@@ -1,41 +0,0 @@
-# $Id: PKGBUILD 94260 2013-07-18 11:12:21Z arodseth $
-# Maintainer: Alexander Rødseth <rodseth@gmail.com>
-# Contributor: karolina.lindqvist@kramnet.se
-
-pkgname=algol68g
-pkgver=2.7
-pkgrel=1
-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=("http://jmvdveer.home.xs4all.nl/algol68g-$pkgver.tar.gz"
- 'plotutils.patch'
- 'http://www.xs4all.nl/~jmvdveer/a68gdoc.pdf')
-sha256sums=('ebcf029ae65ceafca87090cc470dd37f86ac0bdb1529cd4dd7a92454d224d325'
- '50afcc7812d117e5f0a2f5240c9cd58f8bfcc04b3da0634b9aa0ab06183ed0aa'
- '8cbfb480cb5dfb20f79c2391d7111fc8b727c3e9e02008ab4c0cde9acb62e7d3')
-
-prepare() {
- cd "$srcdir/$pkgname-$pkgver"
-
- patch -p1 -i ../plotutils.patch
-}
-
-build() {
- cd "$srcdir/$pkgname-$pkgver"
-
- ./configure --prefix=/usr
- make
-}
-
-package() {
- cd "$srcdir/$pkgname-$pkgver"
-
- make DESTDIR="$pkgdir" docdir="/usr/share/doc/$pkgname" install
- install "$srcdir/a68gdoc.pdf" "$pkgdir/usr/share/doc/$pkgname"
-}
-
-# vim:set ts=2 sw=2 et:
diff --git a/community/algol68g/plotutils.patch b/community/algol68g/plotutils.patch
deleted file mode 100644
index 17c750075..000000000
--- a/community/algol68g/plotutils.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- ./source/plotutils.c.orig 2012-04-05 00:44:52.000000000 +0200
-+++ ./source/plotutils.c 2012-04-28 05:27:04.000000000 +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);