diff options
Diffstat (limited to 'main/ncurses/APKBUILD')
-rw-r--r-- | main/ncurses/APKBUILD | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/main/ncurses/APKBUILD b/main/ncurses/APKBUILD index 3a98eff415..49a8ec23e4 100644 --- a/main/ncurses/APKBUILD +++ b/main/ncurses/APKBUILD @@ -2,7 +2,7 @@ pkgname=ncurses pkgver=6.1_p20200118 _ver=${pkgver/_p/-} -pkgrel=0 +pkgrel=1 pkgdesc="Console display library" url="https://invisible-island.net/ncurses/" arch="all" @@ -23,8 +23,6 @@ builddir="$srcdir"/ncurses-$_ver # - CVE-2017-10684 build() { - cd "$builddir" - ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -44,7 +42,6 @@ build() { } package() { - cd "$builddir" make -j1 DESTDIR="$pkgdir" install # Install basic terms in /etc/terminfo @@ -76,19 +73,20 @@ dev() { terminfo() { pkgdesc="$pkgdesc (other terminfo files)" - depends="$pkgname-terminfo-base" + depends="$pkgname-terminfo-base=$pkgver-r$pkgrel" rm -rf $subpkgdir - mkdir -p $subpkgdir/usr/share + mkdir -p $subpkgdir/usr/share $subpkgdir/usr/lib mv $pkgdir/usr/share/terminfo $subpkgdir/usr/share + mv $pkgdir/usr/lib/terminfo $subpkgdir/usr/lib } libs() { pkgdesc="Ncurses libraries" - depends="$pkgname-terminfo-base" + depends="$pkgname-terminfo-base=$pkgver-r$pkgrel" provides="ncurses-widec-libs=$pkgver-r$pkgrel" - mkdir -p "$subpkgdir"/usr/ - mv "$pkgdir"/usr/lib "$subpkgdir"/usr/ + mkdir -p "$subpkgdir"/usr/lib + mv "$pkgdir"/usr/lib/*.so.* "$subpkgdir"/usr/lib } base() { |