[arch-commits] Commit in gnu-apl/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Tue Jul 7 19:38:33 UTC 2020
Date: Tuesday, July 7, 2020 @ 19:38:33
Author: foutrelis
Revision: 660173
archrelease: copy trunk to community-staging-x86_64
Added:
gnu-apl/repos/community-staging-x86_64/
gnu-apl/repos/community-staging-x86_64/PKGBUILD
(from rev 660172, gnu-apl/trunk/PKGBUILD)
----------+
PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
Copied: gnu-apl/repos/community-staging-x86_64/PKGBUILD (from rev 660172, gnu-apl/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2020-07-07 19:38:33 UTC (rev 660173)
@@ -0,0 +1,36 @@
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+
+pkgname=gnu-apl
+pkgver=1.8
+pkgrel=2
+url="https://www.gnu.org/software/apl/"
+pkgdesc="An (almost) complete implementation of ISO standard 13751"
+arch=('x86_64')
+depends=('ncurses' 'postgresql-libs' 'gcc-libs' 'sqlite' 'libnsl' 'pcre')
+license=('GPL3')
+#source=("https://ftpmirror.gnu.org/apl/apl-${pkgver}.tar.gz"{,.sig})
+# official https gnu site not updated any more?
+source=("https://mirrors.kernel.org/gnu/apl/apl-${pkgver}.tar.gz"{,.sig})
+md5sums=('b18e71ff2d307cf2268067deed5026ec'
+ 'SKIP')
+validpgpkeys=('3EB2E2ECCB2F040A26CB7F2192B68B71531B6686')
+
+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}
+}
+
+build() {
+ cd "$srcdir/apl-$pkgver"
+ #CFLAGS='-std=gnu99' ./configure --prefix=/usr --sysconfdir=/etc
+ # FS#60643 (remove in 1.8)
+ CFLAGS='-std=gnu99' CXX_WERROR='no' ./configure --prefix=/usr --sysconfdir=/etc
+ make PREFIX=/usr -j1
+}
+
+package() {
+ cd "$srcdir/apl-$pkgver"
+ make PREFIX=/usr DESTDIR="$pkgdir" install
+}
More information about the arch-commits
mailing list