[arch-commits] Commit in libnewt/repos (4 files)
Alexander Rødseth
arodseth at archlinux.org
Sat Sep 19 13:55:14 UTC 2015
Date: Saturday, September 19, 2015 @ 15:55:14
Author: arodseth
Revision: 140846
archrelease: copy trunk to community-staging-x86_64, community-staging-i686
Added:
libnewt/repos/community-staging-i686/
libnewt/repos/community-staging-i686/PKGBUILD
(from rev 140845, libnewt/trunk/PKGBUILD)
libnewt/repos/community-staging-x86_64/
libnewt/repos/community-staging-x86_64/PKGBUILD
(from rev 140844, libnewt/trunk/PKGBUILD)
-----------------------------------+
community-staging-i686/PKGBUILD | 43 ++++++++++++++++++++++++++++++++++++
community-staging-x86_64/PKGBUILD | 43 ++++++++++++++++++++++++++++++++++++
2 files changed, 86 insertions(+)
Copied: libnewt/repos/community-staging-i686/PKGBUILD (from rev 140845, libnewt/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2015-09-19 13:55:14 UTC (rev 140846)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Alexander Rødseth <rodseth at gmail.com>
+# 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.18
+pkgrel=3
+_tclver=8.6
+pkgdesc="Not Erik's Windowing Toolkit - text mode windowing with slang"
+arch=('x86_64' 'i686')
+url='https://fedorahosted.org/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://fedorahosted.org/releases/n/e/newt/newt-$pkgver.tar.gz")
+sha256sums=('771b0e634ede56ae6a6acd910728bb5832ac13ddb0d1d27919d2498dab70c91e')
+
+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
+}
+
+# getver: https://git.fedorahosted.org/cgit/newt.git/plain/CHANGES
+# vim:set ts=2 sw=2 et:
Copied: libnewt/repos/community-staging-x86_64/PKGBUILD (from rev 140844, libnewt/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2015-09-19 13:55:14 UTC (rev 140846)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Alexander Rødseth <rodseth at gmail.com>
+# 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.18
+pkgrel=3
+_tclver=8.6
+pkgdesc="Not Erik's Windowing Toolkit - text mode windowing with slang"
+arch=('x86_64' 'i686')
+url='https://fedorahosted.org/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://fedorahosted.org/releases/n/e/newt/newt-$pkgver.tar.gz")
+sha256sums=('771b0e634ede56ae6a6acd910728bb5832ac13ddb0d1d27919d2498dab70c91e')
+
+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
+}
+
+# getver: https://git.fedorahosted.org/cgit/newt.git/plain/CHANGES
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list