aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2016-12-08 13:06:47 +0100
committerJakub Jirutka <jakub@jirutka.cz>2016-12-08 13:11:50 +0100
commit726f37f82da45be40a5065ffd1d52dd6c100a7b4 (patch)
tree6876d04d36fe3abcf9a7205359e037720c3706ae
parent7fce411e6d7a5c9093dea89e0749c7bb2b67e0c5 (diff)
downloadaports-726f37f82da45be40a5065ffd1d52dd6c100a7b4.tar.bz2
aports-726f37f82da45be40a5065ffd1d52dd6c100a7b4.tar.xz
main/libgit2: remove unnecessary -lib subpackage
The -lib subpackage doesn't make any sense for this package, because libgit2 is only a library. pkg +-- libgit2 | `-- usr | `-- lib | `-- libgit2.so.24 -> libgit2.so.0.24.2 `-- libgit2-libs `-- usr `-- lib `-- libgit2.so.0.24.3 Also it breaks cargo package.
-rw-r--r--main/libgit2/APKBUILD6
1 files changed, 4 insertions, 2 deletions
diff --git a/main/libgit2/APKBUILD b/main/libgit2/APKBUILD
index 9af3a89c4a..a164327de6 100644
--- a/main/libgit2/APKBUILD
+++ b/main/libgit2/APKBUILD
@@ -3,7 +3,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libgit2
pkgver=0.24.3
-pkgrel=0
+pkgrel=1
pkgdesc="A linkable library for Git"
url="https://libgit2.github.com/"
arch="all"
@@ -11,7 +11,9 @@ license="GPLv2"
depends=""
depends_dev="curl-dev libssh2-dev"
makedepends="$depends_dev python2 cmake zlib-dev libressl-dev"
-subpackages="$pkgname-dev $pkgname-libs"
+subpackages="$pkgname-dev"
+provides="$pkgname-libs" # for backward compatibility with v3.4
+replaces="$pkgname-libs" # for backward compatibility with v3.4
source="$pkgname-$pkgver.tar.gz::https://github.com/$pkgname/$pkgname/archive/v$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"