aboutsummaryrefslogtreecommitdiffstats
path: root/main/ncurses5
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-10-21 06:33:27 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2015-10-21 09:54:32 +0000
commit512d7cbf77be7fe567049b7175360a62e6e37f36 (patch)
tree57a4e46beffb6846343fd1a5df25621efa7d677e /main/ncurses5
parent9e349099cd1ee88169e5f1a58ec76bac4d292500 (diff)
downloadaports-512d7cbf77be7fe567049b7175360a62e6e37f36.tar.bz2
aports-512d7cbf77be7fe567049b7175360a62e6e37f36.tar.xz
main/ncurses5: add replaces for upgrade
the ncurses5-libs needs to be able to replace ncurses-libs during upgrade
Diffstat (limited to 'main/ncurses5')
-rw-r--r--main/ncurses5/APKBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/main/ncurses5/APKBUILD b/main/ncurses5/APKBUILD
index 8fc270a380..200232be19 100644
--- a/main/ncurses5/APKBUILD
+++ b/main/ncurses5/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=ncurses5
pkgver=5.9
-pkgrel=0
+pkgrel=1
pkgdesc="Console display library - ncurses5 compat"
url="http://www.gnu.org/software/ncurses/"
arch="all"
@@ -73,6 +73,7 @@ widec() {
libs() {
pkgdesc="Ncurses5 libraries - ncurses 5 compat"
depends="ncurses-terminfo-base"
+ replaces="ncurses-libs"
mkdir -p "$subpkgdir"/usr/
mv "$pkgdir"/usr/lib "$subpkgdir"/usr/
}