summaryrefslogtreecommitdiff
path: root/user/ttf-noto
diff options
context:
space:
mode:
Diffstat (limited to 'user/ttf-noto')
-rw-r--r--user/ttf-noto/APKBUILD11
1 files changed, 7 insertions, 4 deletions
diff --git a/user/ttf-noto/APKBUILD b/user/ttf-noto/APKBUILD
index 470fd0332..d960c53ed 100644
--- a/user/ttf-noto/APKBUILD
+++ b/user/ttf-noto/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=ttf-noto
pkgver=20160531
-pkgrel=0
+pkgrel=1
pkgdesc="Noto font family"
url="http://www.google.com/get/noto/"
arch="noarch"
@@ -22,14 +22,17 @@ source="https://dev.gentoo.org/~floppym/dist/noto-$pkgver.tar.xz
90-tt-noto-sans.conf
90-tt-noto-serif.conf"
-_builddir="$srcdir"
+builddir="$srcdir"
build() {
- cd "$_builddir"
+ cd "$builddir"
}
package() {
- mkdir -p "$pkgdir"
+ mkdir -p "$pkgdir"/usr/share/fonts/truetype/
+ mkdir -p "$pkgdir"/etc/fonts/conf.d/
+ cp "$builddir"/*.ttf "$pkgdir"/usr/share/fonts/truetype/
+ cp "$builddir"/*.conf "$pkgdir"/etc/fonts/conf.d/
}
sha512sums="7114cd150d83747574f7177cc230c2e665d39aa934d6ef41224343ea7b8612e6b9d77ca5938eb9c815849a2908f035a0824e4e9153d7f44055f4947bf9fc1580 noto-20160531.tar.xz