aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarl Chave <online@chave.us>2021-01-09 03:06:32 +0000
committerLeo <thinkabit.ukim@gmail.com>2021-01-09 03:06:32 +0000
commit0a50c7c0b8659667be0cd0dfc0fdb4e63d920826 (patch)
treeb5338b3bde986978e8bfd06254fed9ed686e7fe9
parentd6b866c049d711d6255255e5838d149bd465821f (diff)
downloadaports-0a50c7c0b8659667be0cd0dfc0fdb4e63d920826.tar.gz
aports-0a50c7c0b8659667be0cd0dfc0fdb4e63d920826.tar.bz2
aports-0a50c7c0b8659667be0cd0dfc0fdb4e63d920826.tar.xz
main/harfbuzz: split utilities to new subpackage
-rw-r--r--main/harfbuzz/APKBUILD15
1 files changed, 8 insertions, 7 deletions
diff --git a/main/harfbuzz/APKBUILD b/main/harfbuzz/APKBUILD
index 284df82a09..bbdd0a3a37 100644
--- a/main/harfbuzz/APKBUILD
+++ b/main/harfbuzz/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=harfbuzz
pkgver=2.7.4
-pkgrel=0
+pkgrel=1
pkgdesc="Text shaping library"
url="https://freedesktop.org/wiki/Software/HarfBuzz"
arch="all"
@@ -12,7 +12,7 @@ options="!check"
makedepends="freetype-dev glib-dev gobject-introspection-dev cairo-dev icu-dev
graphite2-dev meson gtk-doc"
checkdepends="python3"
-subpackages="$pkgname-static $pkgname-dev $pkgname-icu $pkgname-doc"
+subpackages="$pkgname-static $pkgname-dev $pkgname-icu $pkgname-utils $pkgname-doc"
source="harfbuzz-$pkgver.tar.gz::https://github.com/harfbuzz/harfbuzz/archive/$pkgver.tar.gz"
build() {
@@ -44,11 +44,6 @@ static() {
mv "$pkgdir"/usr/lib/*.a "$subpkgdir"/usr/lib/
}
-dev() {
- default_dev
- mv "$pkgdir"/usr/bin "$subpkgdir"/usr/
-}
-
icu() {
pkgdesc="Harfbuzz ICU support library"
replaces="harfbuzz"
@@ -56,4 +51,10 @@ icu() {
mv "$pkgdir"/usr/lib/lib*icu.so.* "$subpkgdir"/usr/lib/
}
+utils() {
+ pkgdesc="$pkgdesc (utilities)"
+ mkdir -p "$subpkgdir"/usr
+ mv "$pkgdir"/usr/bin "$subpkgdir"/usr/
+}
+
sha512sums="5b412e0f6d1c9142a0ef2713826cb8d6ebf348c5b64054a0676d3ce084bcff1de375dadf90e87dbbf6d0ec8e4a99339cb64b514d5464efb7e27037551e494099 harfbuzz-2.7.4.tar.gz"