summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO13
-rw-r--r--PKGBUILD21
2 files changed, 34 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..a10f72a3e2d
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,13 @@
+pkgbase = compagnon-font
+ pkgdesc = A multi-style typeface inspired by Typewriter specimens, from Velvetyne Type Foundry
+ pkgver = 1.000
+ pkgrel = 1
+ url = https://velvetyne.fr/fonts/compagnon
+ arch = any
+ license = OFL
+ source = https://gitlab.com/velvetyne/compagnon/-/archive/4f2344df5adb6eaf9ffd9215c5406c0729fb7aa1/compagnon-1.000.tar.bz2
+ sha256sums = ddc2a4080b1472c2420df6df31d8e1f839b25f26468c525b5f24389ae15b2fcb
+
+pkgname = otf-compagnon
+ provides = compagnon-font
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..5f2105bfd39
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,21 @@
+# Maintainer: Caleb Maclennan <caleb@alerque.com>
+
+_name=compagnon
+pkgbase=$_name-font
+pkgname=(otf-$_name)
+_sha=4f2344df5adb6eaf9ffd9215c5406c0729fb7aa1
+pkgver=1.000
+pkgrel=1
+pkgdesc='A multi-style typeface inspired by Typewriter specimens, from Velvetyne Type Foundry'
+arch=('any')
+url="https://velvetyne.fr/fonts/$_name"
+license=('OFL')
+source=("https://gitlab.com/velvetyne/$_name/-/archive/$_sha/$_name-$pkgver.tar.bz2")
+sha256sums=('ddc2a4080b1472c2420df6df31d8e1f839b25f26468c525b5f24389ae15b2fcb')
+
+package_otf-compagnon() {
+ provides=("$pkgbase")
+ cd "$_name-$_sha"
+ install -Dm644 -t "$pkgdir/usr/share/fonts/OTF/" fonts/*.otf
+ install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE.txt
+}