summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorDorianXGH2020-11-01 21:32:17 +0100
committerDorianXGH2020-11-01 21:32:17 +0100
commita2a2f14bf8fa3b170fb9e4da21973788d33743e7 (patch)
tree5fee44fb7cf4e72cbf30f9411fa39f8307b330e1 /PKGBUILD
parent3095a7b923e0202e7fcfd0d2821985cc055768d0 (diff)
downloadaur-a2a2f14bf8fa3b170fb9e4da21973788d33743e7.tar.gz
added licence file and refactored package()
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD5
1 files changed, 2 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 5ab85e8d7c1..294467161e5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -19,7 +19,6 @@ pkgver() {
}
package() {
- cd "$srcdir/comic-mono-font"
- install -d "$pkgdir/usr/share/fonts/TTF"
- install -Dm755 *.ttf "$pkgdir/usr/share/fonts/TTF"
+ install -Dm755 'comic-mono-font/'*.ttf -t "${pkgdir}/usr/share/fonts/TTF"
+ install -Dm644 'comic-mono-font/LICENSE' -t "${pkgdir}/usr/share/licenses/${pkgname%-*}"
}