aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-09-27 23:54:02 -0300
committerLeo <thinkabit.ukim@gmail.com>2019-09-28 00:14:30 -0300
commit4c054d79ab5e88d355d9531510ef5edd79609ffd (patch)
tree897286b4f08b773b6a7c8b045ad8834c14d1125d
parente4cd87dea22b508052aeec1b8908e5e8edaa1651 (diff)
downloadaports-4c054d79ab5e88d355d9531510ef5edd79609ffd.tar.bz2
aports-4c054d79ab5e88d355d9531510ef5edd79609ffd.tar.xz
testing/createrepo_c: upgrade to 0.15.1
-rw-r--r--testing/createrepo_c/APKBUILD41
1 files changed, 21 insertions, 20 deletions
diff --git a/testing/createrepo_c/APKBUILD b/testing/createrepo_c/APKBUILD
index f769b2ce89..e506b95aba 100644
--- a/testing/createrepo_c/APKBUILD
+++ b/testing/createrepo_c/APKBUILD
@@ -1,7 +1,7 @@
# Contributor:
# Maintainer: Paul Morgan <jumanjiman@gmail.com>
pkgname=createrepo_c
-pkgver=0.14.3
+pkgver=0.15.1
pkgrel=0
pkgdesc="C implementation of createrepo"
url="https://github.com/rpm-software-management/createrepo_c/"
@@ -30,19 +30,19 @@ checkdepends="
xz
"
subpackages="
- ${pkgname}-bash-completion:bashcomp:noarch
- ${pkgname}-dev
- ${pkgname}-doc
- ${pkgname}-libs
+ $pkgname-bash-completion:bashcomp:noarch
+ $pkgname-dev
+ $pkgname-doc
+ $pkgname-libs
py3-${pkgname}:py3
"
source="
- ${pkgname}-${pkgver}.tar.gz::https://github.com/rpm-software-management/createrepo_c/archive/${pkgver}.tar.gz
+ $pkgname-$pkgver.tar.gz::https://github.com/rpm-software-management/createrepo_c/archive/$pkgver.tar.gz
"
build() {
- mkdir "${builddir}"/build
- cd "${builddir}"/build
+ mkdir "$builddir"/build
+ cd "$builddir"/build
# Pass cmake variables so
# end user does not need to set LD_LIBRARY_PATH.
@@ -57,37 +57,38 @@ build() {
-DCMAKE_INSTALL_RPATH_USE_LINK_PATH=true \
-DPYTHON_DESIRED=3 \
-DWITH_ZCHUNK=OFF \
- -DWITH_LIBMODULEMD=OFF
+ -DWITH_LIBMODULEMD=OFF \
+ -DENABLE_DRPM=OFF
make
}
check() {
- cd "${builddir}"/build
+ cd "$builddir"/build
make tests
tests/run_gtester.sh
}
package() {
- cd "${builddir}"/build
- make install/strip DESTDIR=${pkgdir}
+ cd "$builddir"/build
+ make install/strip DESTDIR=$pkgdir
}
py3() {
pkgdesc="Python3 bindings for createrepo_c"
- depends="python3 ${pkgname}-libs"
+ depends="python3 $pkgname-libs"
# This is architecture-specific and provides a *.so file.
- mkdir -p "${subpkgdir}"/usr/lib
- mv "${pkgdir}"/usr/lib/python* "${subpkgdir}"/usr/lib/
+ mkdir -p "$subpkgdir"/usr/lib
+ mv "$pkgdir"/usr/lib/python* "$subpkgdir"/usr/lib/
}
bashcomp() {
depends=""
- pkgdesc="Bash completions for ${pkgname}"
- install_if="${pkgname}=${pkgver}-r${pkgrel} bash-completion"
+ pkgdesc="Bash completions for $pkgname"
+ install_if="${pkgname}=$pkgver-r${pkgrel} bash-completion"
- mkdir -p "${subpkgdir}"/usr/share/
- mv "${pkgdir}"/usr/share/bash-completion "${subpkgdir}"/usr/share/
+ mkdir -p "$subpkgdir"/usr/share/
+ mv "$pkgdir"/usr/share/bash-completion "$subpkgdir"/usr/share/
}
-sha512sums="949d3831ec0a54800948e2338eaf65e3d5d4ef06fcb4cef10541eac8dd44be80aecfc06c5de1de9cb318df01fdd9369912101fcb7b7265f32daa377765e98a55 createrepo_c-0.14.3.tar.gz"
+sha512sums="d7a601f2ee766cd56ea5b72a4b30c0b855c50fb490070e471dc7bdac84e33ef17ecc2facf3a733a89c0b3586c9b39bd66c684f5e82050ac9d4b285325c7fd854 createrepo_c-0.15.1.tar.gz"