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

Bartłomiej Piotrowski bpiotrowski at archlinux.org
Mon Nov 14 20:52:38 UTC 2016


    Date: Monday, November 14, 2016 @ 20:52:38
  Author: bpiotrowski
Revision: 280736

upgpkg: ncurses 6.0+20161112-1

new upstream patches

Modified:
  ncurses/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-11-14 19:11:45 UTC (rev 280735)
+++ PKGBUILD	2016-11-14 20:52:38 UTC (rev 280736)
@@ -4,8 +4,9 @@
 # Contributor: judd <jvinet at zeroflux.org>
 
 pkgname=ncurses
-pkgver=6.0
-pkgrel=4
+_pkgver=6.0-20161112
+pkgver=${_pkgver/-/+}
+pkgrel=1
 pkgdesc='System V Release 4.0 curses emulation library'
 arch=('i686' 'x86_64')
 url='http://invisible-island.net/ncurses/ncurses.html'
@@ -13,13 +14,13 @@
 depends=('glibc' 'gcc-libs')
 provides=('libncurses++w.so' 'libformw.so' 'libmenuw.so' 'libpanelw.so'
           'libncursesw.so')
-source=(ftp://invisible-island.net/ncurses/ncurses-${pkgver/_/-}.tar.gz{,.asc})
-md5sums=('ee13d052e1ead260d7c28071f46eefb1'
+source=(http://invisible-mirror.net/archives/ncurses/current/ncurses-${_pkgver}.tgz{,.asc})
+md5sums=('8e0c11e0753a2fe742a317a73880cfff'
          'SKIP')
 validpgpkeys=('C52048C0C0748FEE227D47A2702353E0F7E48EDB')  # Thomas Dickey
 
 build() {
-  cd $pkgname-${pkgver/_/-}
+  cd $pkgname-${_pkgver}
 
   ./configure --prefix=/usr --mandir=/usr/share/man \
     --with-pkg-config-libdir=/usr/lib/pkgconfig \
@@ -30,7 +31,7 @@
 }
 
 package() {
-  cd $pkgname-${pkgver/_/-}
+  cd $pkgname-${_pkgver}
   make DESTDIR="$pkgdir" install
 
   # fool packages looking to link to non-wide-character ncurses libraries



More information about the arch-commits mailing list