summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergey Borodulya2020-07-17 16:34:36 +0700
committerSergey Borodulya2020-07-17 16:34:36 +0700
commit3303634b314cc6fa3204aaf719ce7918933df2c2 (patch)
treea804925df7e13ce18e287e18efb7e9a88a0906f8
downloadaur-figma-linux-font-helper.tar.gz
Initial commit
-rw-r--r--.SRCINFO12
-rw-r--r--PKGBUILD25
2 files changed, 37 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..a9e8c1380d3
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,12 @@
+pkgbase = figma-linux-font-helper
+ pkgdesc = Font Helper for Figma for Linux OS.
+ pkgver = 0.1.5
+ pkgrel = 1
+ url = https://github.com/Figma-Linux/figma-linux-font-helper
+ arch = x86_64
+ license = GPL2
+ source = https://github.com/Figma-Linux/figma-linux-font-helper/releases/download/v0.1.5/fonthelper.tar.xz
+ sha256sums = 1e979b44c350b3428aa3b960026b73b350a36ab1c86237e2a74b256f8465c23e
+
+pkgname = figma-linux-font-helper
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..3025bf9aeaa
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,25 @@
+# Maintainer: Sergey Borodulya <sevrykov.sergey@gmail.com>
+pkgname="figma-linux-font-helper"
+pkgver="0.1.5"
+pkgrel="1"
+pkgdesc="Font Helper for Figma for Linux OS."
+arch=("x86_64")
+url="https://github.com/Figma-Linux/figma-linux-font-helper"
+license=('GPL2')
+source=("https://github.com/Figma-Linux/${pkgname}/releases/download/v${pkgver}/fonthelper.tar.xz")
+sha256sums=("1e979b44c350b3428aa3b960026b73b350a36ab1c86237e2a74b256f8465c23e")
+package() {
+ cat > "${srcdir}"/fonthelper.conf << EOF
+{
+ "port": "18412",
+ "directories": [
+ "/usr/share/fonts",
+ "$HOME/.local/share/fonts"
+ ]
+}
+EOF
+ install -D "${srcdir}"/fonthelper "${pkgdir}"/opt/FontHelper/fonthelper
+ install -D "${srcdir}"/libfreetype.so.6 "${pkgdir}"/opt/FontHelper/libfreetype.so.6
+ install -D "${srcdir}"/fonthelper.conf "${pkgdir}"/etc/figma-linux/fonthelper
+ install -Dm644 "${srcdir}"/fonthelper.service "${pkgdir}"/usr/lib/systemd/system/fonthelper.service
+} \ No newline at end of file