From 277e3385eeee524e238cc1bbca01c149d8009b8f Mon Sep 17 00:00:00 2001 From: prspkt Date: Thu, 26 Jul 2018 10:45:13 +0300 Subject: main/libmspack: clarify license, split utils to own subpkg --- main/libmspack/APKBUILD | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/main/libmspack/APKBUILD b/main/libmspack/APKBUILD index baaf8ac2c5..aadabf6295 100644 --- a/main/libmspack/APKBUILD +++ b/main/libmspack/APKBUILD @@ -3,15 +3,15 @@ pkgname=libmspack pkgver=0.7.1_alpha _ver=${pkgver/_/} pkgrel=0 -pkgdesc="Library for CAB and related files compression and decompression" +pkgdesc="Library for Microsoft CAB compression formats" url="https://www.cabextract.org.uk/libmspack/" arch="all" -license="LGPL-2.0" +license="LGPL-2.1-only" depends="" depends_dev="" makedepends="$depends_dev" install="" -subpackages="$pkgname-dev" +subpackages="$pkgname-dev $pkgname-utils" source="https://www.cabextract.org.uk/libmspack/libmspack-$_ver.tar.gz" builddir="$srcdir"/libmspack-$_ver @@ -51,4 +51,10 @@ package() { make DESTDIR="$pkgdir" install } +utils() { + pkgdesc="$pkgdesc (utils)" + mkdir -p "$subpkgdir"/usr + mv "$pkgdir"/usr/bin "$subpkgdir"/usr +} + sha512sums="e903629a34c29099a261a108e4eb9cda485ab999bbc3383e3cd6a39715077d00b26a1c641b0f3df0eef60d2e15a7ef623379df0cfe25b99d4eda080529ffec7b libmspack-0.7.1alpha.tar.gz" -- cgit v1.2.3