[arch-commits] Commit in lib32-libnewt/trunk (PKGBUILD)

2019-06-03 Thread Maxime Gauduin via arch-commits
Date: Monday, June 3, 2019 @ 08:05:37
  Author: alucryd
Revision: 476696

upgpkg: lib32-libnewt 0.52.21-1

Modified:
  lib32-libnewt/trunk/PKGBUILD

--+
 PKGBUILD |   45 -
 1 file changed, 28 insertions(+), 17 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-06-03 07:57:04 UTC (rev 476695)
+++ PKGBUILD2019-06-03 08:05:37 UTC (rev 476696)
@@ -6,35 +6,46 @@
 # Contributor: Daniel J Griffiths 
 
 pkgname=lib32-libnewt
-pkgver=0.52.20
-pkgrel=2
+pkgver=0.52.21
+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')
+arch=(x86_64)
+url=https://fedorahosted.org/newt/
+license=(GPL)
+depends=(
+  lib32-glibc
+  lib32-gpm
+  lib32-popt
+  lib32-slang
+  libnewt
+)
+makedepends=(
+  git
+  lib32-tcl
+)
 optdepends=('lib32-tcl: whiptcl support')
-options=('!makeflags')
-source=("https://releases.pagure.org/newt/newt-${pkgver}.tar.gz;)
-sha256sums=('8d66ba6beffc3f786d4ccfee9d2b43d93484680ef8db9397a4fb70b5adbb6dbc')
+options=(!makeflags)
+source=(git+https://pagure.io/newt.git#tag=r${pkgver//./-})
+sha256sums=(SKIP)
 
 prepare() {
-  cd newt-${pkgver}
+  cd newt
 
-  sed -i "s:tcl8.4:tcl8.6:" Makefile.in
+  sed -i 's/tcl8.4/tcl8.6/' Makefile.in
   echo '#define USE_INTERP_RESULT 1' >> config.h
+
+  autoreconf -fiv
 }
 
 build() {
-  cd newt-${pkgver}
+  cd newt
 
   export CC='gcc -m32'
-  export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
+  export PKG_CONFIG_PATH=/usr/lib32/pkgconfig
 
   ./configure \
---prefix='/usr' \
---libdir='/usr/lib32' \
+--prefix=/usr \
+--libdir=/usr/lib32 \
 --with-gpm-support \
 --without-python
   make
@@ -41,7 +52,7 @@
 }
 
 package() {
-  cd newt-${pkgver}
+  cd newt
 
   make DESTDIR="${pkgdir}" install
   rm -rf "${pkgdir}"/usr/{bin,include,share}


[arch-commits] Commit in lib32-libnewt/trunk (PKGBUILD)

2018-11-09 Thread Evangelos Foutras via arch-commits
Date: Friday, November 9, 2018 @ 23:36:19
  Author: foutrelis
Revision: 405331

PIE/BUILDINFO rebuild

Modified:
  lib32-libnewt/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-11-09 23:35:33 UTC (rev 405330)
+++ PKGBUILD2018-11-09 23:36:19 UTC (rev 405331)
@@ -7,7 +7,7 @@
 
 pkgname=lib32-libnewt
 pkgver=0.52.20
-pkgrel=1
+pkgrel=2
 pkgdesc="Not Erik's Windowing Toolkit - text mode windowing with slang"
 arch=('x86_64')
 url='https://fedorahosted.org/newt/'


[arch-commits] Commit in lib32-libnewt/trunk (PKGBUILD)

2017-07-01 Thread Maxime Gauduin
Date: Saturday, July 1, 2017 @ 19:48:42
  Author: alucryd
Revision: 242034

upgpkg: lib32-libnewt 0.52.20-1

Modified:
  lib32-libnewt/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-07-01 19:46:11 UTC (rev 242033)
+++ PKGBUILD2017-07-01 19:48:42 UTC (rev 242034)
@@ -7,8 +7,8 @@
 # Contributor: Daniel J Griffiths 
 
 pkgname=lib32-libnewt
-pkgver=0.52.19
-pkgrel=2
+pkgver=0.52.20
+pkgrel=1
 pkgdesc="Not Erik's Windowing Toolkit - text mode windowing with slang"
 arch=('x86_64')
 url='https://fedorahosted.org/newt/'
@@ -18,7 +18,7 @@
 optdepends=('lib32-tcl: whiptcl support')
 options=('!makeflags')
 source=("https://releases.pagure.org/newt/newt-${pkgver}.tar.gz;)
-sha256sums=('08c0db56c21996af6a7cbab99491b774c6c09cef91cd9b03903c84634bff2e80')
+sha256sums=('8d66ba6beffc3f786d4ccfee9d2b43d93484680ef8db9397a4fb70b5adbb6dbc')
 
 prepare() {
   cd newt-${pkgver}


[arch-commits] Commit in lib32-libnewt/trunk (PKGBUILD)

2017-03-11 Thread Maxime Gauduin
Date: Saturday, March 11, 2017 @ 20:19:19
  Author: alucryd
Revision: 215718

upgpkg: lib32-libnewt 0.52.19-2

Modified:
  lib32-libnewt/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-03-11 19:59:54 UTC (rev 215717)
+++ PKGBUILD2017-03-11 20:19:19 UTC (rev 215718)
@@ -8,7 +8,7 @@
 
 pkgname=lib32-libnewt
 pkgver=0.52.19
-pkgrel=1
+pkgrel=2
 pkgdesc="Not Erik's Windowing Toolkit - text mode windowing with slang"
 arch=('x86_64')
 url='https://fedorahosted.org/newt/'
@@ -17,7 +17,7 @@
 makedepends=('gcc-multilib' 'lib32-tcl')
 optdepends=('lib32-tcl: whiptcl support')
 options=('!makeflags')
-source=("https://fedorahosted.org/releases/n/e/newt/newt-$pkgver.tar.gz;)
+source=("https://releases.pagure.org/newt/newt-${pkgver}.tar.gz;)
 sha256sums=('08c0db56c21996af6a7cbab99491b774c6c09cef91cd9b03903c84634bff2e80')
 
 prepare() {