diff options
author | Johannes Löthberg <johannes@kyriasis.com> | 2014-09-28 13:58:46 +0100 |
---|---|---|
committer | Johannes Löthberg <johannes@kyriasis.com> | 2015-06-01 16:03:43 +0200 |
commit | e3050e325132687149f1a91d668e725311d0996d (patch) | |
tree | def38cd9959803afb43f5f11c032d06bc0a74687 | |
parent | 41dd9794f34e34b57be986acaf6c4a3845442222 (diff) | |
download | pkgbuilds-e3050e325132687149f1a91d668e725311d0996d.tar.xz |
ncurses-git: some prodding and poking..
-rw-r--r-- | PKGBUILD | 19 |
1 files changed, 7 insertions, 12 deletions
@@ -21,34 +21,30 @@ pkgver() { git describe --tags | sed 's/^v//; s/-/.r/; s/-/./' } -prepare() { - mkdir ncurses-build - mkdir ncursesw-build -} - build() { - cd ncursesw-build + mkdir ncurses{,w}-build + cd ncursesw-build # add --enable-ext-colors and --enable-ext-mouse with next soname bump - ../ncurses/configure --prefix=/usr \ + ../ncurses/configure \ + --prefix=/usr \ --with-shared \ --with-normal \ --without-ada \ --enable-widec \ --without-debug \ --enable-pc-files - make # libraries for external binary support cd "$srcdir"/ncurses-build - + [[ $CARCH = "x86_64" ]] && CONFIGFLAG="--with-chtype=long" ../ncurses/configure --prefix=/usr \ --with-shared \ --with-normal \ --without-ada \ --without-debug \ - --with-chtype=logn + $CONFIGFLAG make } @@ -76,6 +72,5 @@ package() { ln -s lib"$lib".so.5.9 "$pkgdir"/usr/lib/lib"$lib".so.5 done - cd "$srcdir"/ncurses - install -Dm755 COPYING "$pkgdir"/usr/share/licenses/ncurses/COPYING + install -Dm755 "$srcdir"/ncurses/COPYING "$pkgdir"/usr/share/licenses/ncurses/COPYING } |