diff --git a/PKGBUILD b/PKGBUILD index 8e2608c..af9aeeb 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -3,8 +3,9 @@ # Contributor: judd 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' @@ -12,13 +13,13 @@ license=('MIT') 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 \ @@ -29,7 +30,7 @@ build() { } package() { - cd $pkgname-${pkgver/_/-} + cd $pkgname-${_pkgver} make DESTDIR="$pkgdir" install # fool packages looking to link to non-wide-character ncurses libraries