[arch-commits] Commit in lib32-libnewt (3 files)
Maxime Gauduin
alucryd at archlinux.org
Fri Aug 19 20:23:36 UTC 2016
Date: Friday, August 19, 2016 @ 20:23:36
Author: alucryd
Revision: 187091
archrelease: copy trunk to multilib-x86_64
Added:
lib32-libnewt/repos/
lib32-libnewt/repos/multilib-x86_64/
lib32-libnewt/repos/multilib-x86_64/PKGBUILD
(from rev 187090, lib32-libnewt/trunk/PKGBUILD)
----------+
PKGBUILD | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 51 insertions(+)
Copied: lib32-libnewt/repos/multilib-x86_64/PKGBUILD (from rev 187090, lib32-libnewt/trunk/PKGBUILD)
===================================================================
--- repos/multilib-x86_64/PKGBUILD (rev 0)
+++ repos/multilib-x86_64/PKGBUILD 2016-08-19 20:23:36 UTC (rev 187091)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: oi_wtf <brainpower at gulli.com>
+# Contributor: 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=lib32-libnewt
+pkgver=0.52.19
+pkgrel=1
+pkgdesc="Not Erik's Windowing Toolkit - text mode windowing with slang"
+arch=('x86_64')
+url='https://fedorahosted.org/newt/'
+license=('GPL')
+depends=('lib32-glibc' 'lib32-gpm' 'lib32-popt' 'lib32-slang' 'libnewt')
+makedepends=('gcc-multilib' 'lib32-tcl')
+optdepends=('lib32-tcl: whiptcl support')
+options=('!makeflags')
+source=("https://fedorahosted.org/releases/n/e/newt/newt-$pkgver.tar.gz")
+sha256sums=('08c0db56c21996af6a7cbab99491b774c6c09cef91cd9b03903c84634bff2e80')
+
+prepare() {
+ cd newt-${pkgver}
+
+ sed -i "s:tcl8.4:tcl8.6:" Makefile.in
+ echo '#define USE_INTERP_RESULT 1' >> config.h
+}
+
+build() {
+ cd newt-${pkgver}
+
+ export CC='gcc -m32'
+ export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
+
+ ./configure \
+ --prefix='/usr' \
+ --libdir='/usr/lib32' \
+ --with-gpm-support \
+ --without-python
+ make
+}
+
+package() {
+ cd newt-${pkgver}
+
+ make DESTDIR="${pkgdir}" install
+ rm -rf "${pkgdir}"/usr/{bin,include,share}
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list