[arch-commits] Commit in libnewt/repos (2 files)

Alexander Rødseth arodseth at archlinux.org
Tue Sep 22 10:02:56 UTC 2020


    Date: Tuesday, September 22, 2020 @ 10:02:56
  Author: arodseth
Revision: 711367

archrelease: copy trunk to community-testing-x86_64

Added:
  libnewt/repos/community-testing-x86_64/
  libnewt/repos/community-testing-x86_64/PKGBUILD
    (from rev 711366, libnewt/trunk/PKGBUILD)

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

Copied: libnewt/repos/community-testing-x86_64/PKGBUILD (from rev 711366, libnewt/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2020-09-22 10:02:56 UTC (rev 711367)
@@ -0,0 +1,41 @@
+# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
+# Contributor: Roman Kyrylych <roman at archlinux.org>
+# Contributor: Tom Killian <tomk at runbox.com>
+# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
+
+pkgname=libnewt
+pkgver=0.52.21
+pkgrel=4
+_tclver=8.6
+pkgdesc="Not Erik's Windowing Toolkit - text mode windowing with slang"
+arch=(x86_64)
+url='https://pagure.io/newt'
+license=(GPL)
+depends=(gpm libxcrypt popt slang)
+makedepends=("tcl>=$_tclver" 'python' 'python2')
+optdepends=('tcl: whiptcl support'
+            'python: libnewt support with the _snack module'
+            'python2: libnewt support with the _snack module')
+options=(!makeflags)
+source=("https://releases.pagure.org/newt/newt-$pkgver.tar.gz")
+sha256sums=('265eb46b55d7eaeb887fca7a1d51fe115658882dfe148164b6c49fccac5abb31')
+
+prepare() {
+  cd "newt-$pkgver"
+
+  sed -i "s:tcl8.4:tcl$_tclver:" Makefile.in
+  echo '#define USE_INTERP_RESULT 1' >> config.h
+}
+
+build() {
+  cd "newt-$pkgver"
+
+  ./configure --prefix=/usr --with-gpm-support
+  make
+}
+
+package() {
+  make -C "newt-$pkgver" prefix="$pkgdir/usr" install
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list