summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..8112d5f639b
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,30 @@
+# Maintainer: <fr@nz>
+pkgname=otf-comic-shanns
+_pkgname=comic-shanns
+pkgver=r10.ff436a9
+pkgver() {
+ cd "$srcdir/$_pkgname"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+pkgrel=1
+pkgdesc="a classy font"
+arch=('any')
+url="https://github.com/shannpersand/comic-shanns"
+license=('MIT')
+source=("git+https://github.com/shannpersand/$_pkgname")
+sha256sums=('SKIP')
+
+package() {
+ cd "$srcdir/$_pkgname"
+
+ # actual files
+ install -Dt "$pkgdir"/usr/share/fonts/OTF comic-shanns.otf
+
+ # documentation
+ install -Dt "$pkgdir"/usr/share/doc/"$pkgname" README.md
+
+ # license
+ install -Dt "$pkgdir"/usr/share/licenses/"$pkgname" LICENSE
+}
+
+# vim:set ts=2 sw=2 et: