[arch-commits] Commit in (gnu-apl gnu-apl/repos gnu-apl/trunk gnu-apl/trunk/PKGBUILD)

Kyle Keen kkeen at archlinux.org
Fri Nov 3 16:50:40 UTC 2017


    Date: Friday, November 3, 2017 @ 16:50:39
  Author: kkeen
Revision: 265354

Move gnu-apl 1.7 from AUR

Added:
  gnu-apl/
  gnu-apl/repos/
  gnu-apl/trunk/
  gnu-apl/trunk/PKGBUILD

----------+
 PKGBUILD |   35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

Added: gnu-apl/trunk/PKGBUILD
===================================================================
--- gnu-apl/trunk/PKGBUILD	                        (rev 0)
+++ gnu-apl/trunk/PKGBUILD	2017-11-03 16:50:39 UTC (rev 265354)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+
+pkgname=gnu-apl
+pkgver=1.7
+pkgrel=4
+url="http://www.gnu.org/software/apl/"
+pkgdesc="An (almost) complete implementation of ISO standard 13751"
+arch=('i686' 'x86_64')
+depends=('ncurses' 'postgresql-libs' 'gcc-libs' 'sqlite')
+license=('GPL3')
+source=("https://ftpmirror.gnu.org/apl/apl-${pkgver}.tar.gz")
+md5sums=('a06456f4aa9e349700da51c8efd14150')
+
+prepare() {
+    cd "$srcdir/apl-$pkgver"
+    # The default color scheme is black-on-black in some terminals
+    sed -i '64 s/^.*Color.*ANSI/#&/' gnu-apl.d/preferences{,.in}
+    sed -i '65 s/^#.*Color.*CURSES/Color\tCURSES/' gnu-apl.d/preferences{,.in}
+
+    # SVN 908 (remove in 1.8)
+    sed -i '888 s/ || / || nc == /g' src/Symbol.cc
+}
+
+build() {
+    cd "$srcdir/apl-$pkgver"
+    CFLAGS='-std=gnu99' ./configure --prefix=/usr --sysconfdir=/etc
+    make PREFIX=/usr -j1
+}
+
+package() {
+    cd "$srcdir/apl-$pkgver"
+    make PREFIX=/usr DESTDIR="$pkgdir" install
+}
+


Property changes on: gnu-apl/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property


More information about the arch-commits mailing list