Date: Saturday, June 30, 2018 @ 16:39:19
  Author: felixonmars
Revision: 348464

archrelease: copy trunk to community-staging-x86_64

Added:
  libnewt/repos/community-staging-x86_64/
  libnewt/repos/community-staging-x86_64/PKGBUILD
    (from rev 348463, libnewt/trunk/PKGBUILD)

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

Copied: libnewt/repos/community-staging-x86_64/PKGBUILD (from rev 348463, 
libnewt/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD                           (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-06-30 16:39:19 UTC (rev 348464)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Alexander F Rødseth <[email protected]>
+# Contributor: Roman Kyrylych <[email protected]>
+# Contributor: Tom Killian <[email protected]>
+# Contributor: Daniel J Griffiths <[email protected]>
+
+pkgname=libnewt
+pkgver=0.52.20
+pkgrel=2
+_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=('slang' 'popt' 'gpm')
+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=('8d66ba6beffc3f786d4ccfee9d2b43d93484680ef8db9397a4fb70b5adbb6dbc')
+
+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:

Reply via email to