aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJami Kettunen <jami.kettunen@protonmail.com>2020-08-05 19:36:51 +0300
committerLeo <thinkabit.ukim@gmail.com>2020-08-06 13:46:39 +0000
commit44b01e1aa9fd22149ff553192ff8c8e22f82efe2 (patch)
tree4389132d4b7a47553a93b479d9e71a35bcfae938
parent1ae6c633d61a00ffb558407db90c96282661f1b9 (diff)
downloadaports-44b01e1aa9fd22149ff553192ff8c8e22f82efe2.tar.gz
aports-44b01e1aa9fd22149ff553192ff8c8e22f82efe2.tar.bz2
aports-44b01e1aa9fd22149ff553192ff8c8e22f82efe2.tar.xz
testing/libgrilio: upgrade to 1.0.39
Additionally: * add a check() function as it passed locally for x86, x86_64, armhf, armv7 and aarch64. * start shipping the LICENSE file in a doc subpackage.
-rw-r--r--testing/libgrilio/APKBUILD11
1 files changed, 8 insertions, 3 deletions
diff --git a/testing/libgrilio/APKBUILD b/testing/libgrilio/APKBUILD
index cd923ceec4..4bb9071b85 100644
--- a/testing/libgrilio/APKBUILD
+++ b/testing/libgrilio/APKBUILD
@@ -1,14 +1,14 @@
# Contributor: Danct12 <danct12@disroot.org>
# Maintainer: Danct12 <danct12@disroot.org>
pkgname=libgrilio
-pkgver=1.0.36
+pkgver=1.0.39
pkgrel=0
pkgdesc="RIL client library"
url="https://git.sailfishos.org/mer-core/libgrilio"
arch="all"
license="BSD-3-Clause"
makedepends="libglibutil-dev"
-subpackages="$pkgname-dev"
+subpackages="$pkgname-dev $pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://git.sailfishos.org/mer-core/libgrilio/-/archive/$pkgver/libgrilio-$pkgver.tar.gz"
case $CARCH in
s390x) options="$options !check" # test_io fails
@@ -18,8 +18,13 @@ build() {
make KEEP_SYMBOLS=1 release pkgconfig
}
+check() {
+ make test
+}
+
package() {
make install-dev DESTDIR="$pkgdir"
+ install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
-sha512sums="a1f16107b0272e1fa471e30b90eb01aad8741e8bfb818e3d297d27d53551dd6927f75b6e5ec292b9e99852c9e6100a846092f4dea62267da0d67d6a6e856a865 libgrilio-1.0.36.tar.gz"
+sha512sums="3b1a30cacd6970e168b952a088a544fc1b1a022cea0d056d4b58454f48034443ae40bc8dc3886b289c9431ad53f2ebecc198cf08e876634451e0e58c8784004c libgrilio-1.0.39.tar.gz"