aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-03-25 14:26:31 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-03-25 22:03:10 +0000
commit5aaee5145e47f8575f6cfadc6a138fbff2535f10 (patch)
tree87bdd4981ffd47140cb3a7486ef17d05c15a151b
parent34301d78fc1b2c7e79b92e533c8828e70e984bf3 (diff)
downloadaports-5aaee5145e47f8575f6cfadc6a138fbff2535f10.tar.bz2
aports-5aaee5145e47f8575f6cfadc6a138fbff2535f10.tar.xz
main/ttf-droid: upgrade to 20200215
-rw-r--r--main/ttf-droid/APKBUILD23
1 files changed, 8 insertions, 15 deletions
diff --git a/main/ttf-droid/APKBUILD b/main/ttf-droid/APKBUILD
index 81cf70056a..0bb8833946 100644
--- a/main/ttf-droid/APKBUILD
+++ b/main/ttf-droid/APKBUILD
@@ -1,16 +1,13 @@
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=ttf-droid
-pkgver=20121017
-pkgrel=1
+pkgver=20200215
+pkgrel=0
pkgdesc="General-purpose fonts released by Google as part of Android."
url="http://code.google.com/android/"
arch="noarch"
license="Apache"
depends="fontconfig"
-depends_dev=""
-makedepends="$depends_dev"
-install=""
subpackages="$pkgname-nonlatin"
# added fontconfig configuration from:
# https://github.com/bohoomil/fontconfig-ultimate/tree/master/fontconfig_patches/fonts-settings
@@ -20,13 +17,9 @@ source="https://dev.alpinelinux.org/archive/android-fonts/android-fonts-4.2.2_r1
45-droid.conf
65-ttf-droid-sans.conf
65-ttf-droid-serif.conf
- 90-tt-droid.conf"
-
-_builddir="$srcdir"
-
-build() {
- cd "$_builddir"
-}
+ 90-tt-droid.conf
+ "
+builddir="$srcdir"
package() {
mkdir -p "$pkgdir"/usr/share/fonts/$pkgname \
@@ -39,12 +32,12 @@ package() {
for i in $fonts; do
install -m644 "$srcdir"/"$i" \
- "$pkgdir"/usr/share/fonts/$pkgname/ || return 1
+ "$pkgdir"/usr/share/fonts/$pkgname/
done
for j in "$srcdir"/*.conf; do
install -m644 "$j" \
- "$pkgdir"/etc/fonts/conf.avail/ || return 1
+ "$pkgdir"/etc/fonts/conf.avail/
cd "$pkgdir"/etc/fonts/conf.d
ln -sf /etc/fonts/conf.avail/${j##*/}
done
@@ -68,7 +61,7 @@ nonlatin() {
for k in $fonts; do
install -m644 "$srcdir"/"$k" \
- "$subpkgdir"/usr/share/fonts/$subpkgname/ || return 1
+ "$subpkgdir"/usr/share/fonts/$subpkgname/
done
}