Date: Friday, July 8, 2022 @ 17:04:37 Author: arojas Revision: 1248718
archrelease: copy trunk to community-staging-x86_64 Added: ucblogo/repos/community-staging-x86_64/ ucblogo/repos/community-staging-x86_64/PKGBUILD (from rev 1248717, ucblogo/trunk/PKGBUILD) ucblogo/repos/community-staging-x86_64/configure.patch (from rev 1248717, ucblogo/trunk/configure.patch) -----------------+ PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++ configure.patch | 20 ++++++++++++++++++++ 2 files changed, 57 insertions(+) Copied: ucblogo/repos/community-staging-x86_64/PKGBUILD (from rev 1248717, ucblogo/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-07-08 17:04:37 UTC (rev 1248718) @@ -0,0 +1,37 @@ +# Maintainer: Alexander F. Rødseth <xypr...@archlinux.org> +# Contributor: chiku <chirantan.mi...@gmail.com> + +pkgname=ucblogo +pkgver=6.2.2 +pkgrel=3 +pkgdesc='Interpreter for the Logo programming language' +url='https://www.cs.berkeley.edu/~bh/logo.html' +arch=(x86_64) +license=(GPL) +makedepends=(git texinfo texlive-bin texlive-core) +depends=(libice libsm libx11 ncurses wxwidgets-gtk3) +source=(configure.patch + "$pkgname::git+https://github.com/jrincayc/ucblogo-code#commit=0ba6ad1629f94a89f98e2bf884c1388c6ee78b6d") # tag: version_6.2.2 +b2sums=('609a8a2304d6867a83a581dfa8065c05c6847c0983a29fce39efdfc18cfecfeca54989937f472c4339b2bc7fa4bce51951083d2d48b33614bf751dc67abd0e61' + 'SKIP') + +prepare() { + cd $pkgname + patch -p1 -i ../configure.patch + autoreconf -i +} + +build() { + cd $pkgname + ./configure \ + --enable-docs \ + --prefix=/usr + make +} + +package() { + make -C $pkgname \ + DESTDIR="$pkgdir" \ + INFODIR="$pkgdir/usr/share/info" \ + install +} Copied: ucblogo/repos/community-staging-x86_64/configure.patch (from rev 1248717, ucblogo/trunk/configure.patch) =================================================================== --- community-staging-x86_64/configure.patch (rev 0) +++ community-staging-x86_64/configure.patch 2022-07-08 17:04:37 UTC (rev 1248718) @@ -0,0 +1,20 @@ +--- a/configure.ac 2021-05-14 16:58:39.897389483 +0200 ++++ b/configure.ac 2021-05-14 16:58:51.890750976 +0200 +@@ -72,17 +72,6 @@ + AC_MSG_RESULT([$enable_docs]) + AM_CONDITIONAL([DOCS], [test x${enable_docs} = xyes]) + +-dnl Enable Compiler Warnings +-AX_CFLAGS_WARN_ALL +-dnl Disable a warning with many false positives; perhaps rethink later +-AX_CHECK_COMPILE_FLAG([-Wno-write-strings], +-[CFLAGS="$CFLAGS -Wno-write-strings" +-CXXFLAGS="$CXXFLAGS -Wno-write-strings"]) +-dnl Disable voluminous cloud of rather harmless warnings +-AX_CHECK_COMPILE_FLAG([-Wno-unused-variable], +-[CFLAGS="$CFLAGS -Wno-unused-variable" +-CXXFLAGS="$CXXFLAGS -Wno-unused-variable"]) +- + dnl Checks for libraries. + AC_SEARCH_LIBS(sqrt,[m]) + AC_SEARCH_LIBS(atan,[m])