Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: font-office-code-pro-1.004
@ 2019-07-29 16:58 voidlinux-github
  2019-07-29 17:17 ` [PR PATCH] [Updated] " voidlinux-github
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: voidlinux-github @ 2019-07-29 16:58 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 371 bytes --]

There is a new pull request by maybe-one-day-ubermensch against master on the void-packages repository

https://github.com/maybe-one-day-ubermensch/void-packages font-office-code-pro
https://github.com/void-linux/void-packages/pull/13402

New package: font-office-code-pro-1.004


A patch file from https://github.com/void-linux/void-packages/pull/13402.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-font-office-code-pro-13402.patch --]
[-- Type: text/x-diff, Size: 9619 bytes --]

From b03f5fb6aae9c6ca035a98fdeec33c4d4c24116d Mon Sep 17 00:00:00 2001
From: Jony <maybe-one-day-ubermensch@protonmail.com>
Date: Mon, 29 Jul 2019 02:45:13 -0700
Subject: [PATCH] New package: font-office-code-pro-1.004

---
 srcpkgs/font-office-code-pro-dz-eot   |   1 +
 srcpkgs/font-office-code-pro-dz-otf   |   1 +
 srcpkgs/font-office-code-pro-dz-ttf   |   1 +
 srcpkgs/font-office-code-pro-dz-woff  |   1 +
 srcpkgs/font-office-code-pro-dz-woff2 |   1 +
 srcpkgs/font-office-code-pro-sz-eot   |   1 +
 srcpkgs/font-office-code-pro-sz-otf   |   1 +
 srcpkgs/font-office-code-pro-sz-ttf   |   1 +
 srcpkgs/font-office-code-pro-sz-woff  |   1 +
 srcpkgs/font-office-code-pro-sz-woff2 |   1 +
 srcpkgs/font-office-code-pro/template | 196 ++++++++++++++++++++++++++
 11 files changed, 206 insertions(+)
 create mode 120000 srcpkgs/font-office-code-pro-dz-eot
 create mode 120000 srcpkgs/font-office-code-pro-dz-otf
 create mode 120000 srcpkgs/font-office-code-pro-dz-ttf
 create mode 120000 srcpkgs/font-office-code-pro-dz-woff
 create mode 120000 srcpkgs/font-office-code-pro-dz-woff2
 create mode 120000 srcpkgs/font-office-code-pro-sz-eot
 create mode 120000 srcpkgs/font-office-code-pro-sz-otf
 create mode 120000 srcpkgs/font-office-code-pro-sz-ttf
 create mode 120000 srcpkgs/font-office-code-pro-sz-woff
 create mode 120000 srcpkgs/font-office-code-pro-sz-woff2
 create mode 100644 srcpkgs/font-office-code-pro/template

diff --git a/srcpkgs/font-office-code-pro-dz-eot b/srcpkgs/font-office-code-pro-dz-eot
new file mode 120000
index 00000000000..306a1931449
--- /dev/null
+++ b/srcpkgs/font-office-code-pro-dz-eot
@@ -0,0 +1 @@
+font-office-code-pro
\ No newline at end of file
diff --git a/srcpkgs/font-office-code-pro-dz-otf b/srcpkgs/font-office-code-pro-dz-otf
new file mode 120000
index 00000000000..306a1931449
--- /dev/null
+++ b/srcpkgs/font-office-code-pro-dz-otf
@@ -0,0 +1 @@
+font-office-code-pro
\ No newline at end of file
diff --git a/srcpkgs/font-office-code-pro-dz-ttf b/srcpkgs/font-office-code-pro-dz-ttf
new file mode 120000
index 00000000000..306a1931449
--- /dev/null
+++ b/srcpkgs/font-office-code-pro-dz-ttf
@@ -0,0 +1 @@
+font-office-code-pro
\ No newline at end of file
diff --git a/srcpkgs/font-office-code-pro-dz-woff b/srcpkgs/font-office-code-pro-dz-woff
new file mode 120000
index 00000000000..306a1931449
--- /dev/null
+++ b/srcpkgs/font-office-code-pro-dz-woff
@@ -0,0 +1 @@
+font-office-code-pro
\ No newline at end of file
diff --git a/srcpkgs/font-office-code-pro-dz-woff2 b/srcpkgs/font-office-code-pro-dz-woff2
new file mode 120000
index 00000000000..306a1931449
--- /dev/null
+++ b/srcpkgs/font-office-code-pro-dz-woff2
@@ -0,0 +1 @@
+font-office-code-pro
\ No newline at end of file
diff --git a/srcpkgs/font-office-code-pro-sz-eot b/srcpkgs/font-office-code-pro-sz-eot
new file mode 120000
index 00000000000..306a1931449
--- /dev/null
+++ b/srcpkgs/font-office-code-pro-sz-eot
@@ -0,0 +1 @@
+font-office-code-pro
\ No newline at end of file
diff --git a/srcpkgs/font-office-code-pro-sz-otf b/srcpkgs/font-office-code-pro-sz-otf
new file mode 120000
index 00000000000..306a1931449
--- /dev/null
+++ b/srcpkgs/font-office-code-pro-sz-otf
@@ -0,0 +1 @@
+font-office-code-pro
\ No newline at end of file
diff --git a/srcpkgs/font-office-code-pro-sz-ttf b/srcpkgs/font-office-code-pro-sz-ttf
new file mode 120000
index 00000000000..306a1931449
--- /dev/null
+++ b/srcpkgs/font-office-code-pro-sz-ttf
@@ -0,0 +1 @@
+font-office-code-pro
\ No newline at end of file
diff --git a/srcpkgs/font-office-code-pro-sz-woff b/srcpkgs/font-office-code-pro-sz-woff
new file mode 120000
index 00000000000..306a1931449
--- /dev/null
+++ b/srcpkgs/font-office-code-pro-sz-woff
@@ -0,0 +1 @@
+font-office-code-pro
\ No newline at end of file
diff --git a/srcpkgs/font-office-code-pro-sz-woff2 b/srcpkgs/font-office-code-pro-sz-woff2
new file mode 120000
index 00000000000..306a1931449
--- /dev/null
+++ b/srcpkgs/font-office-code-pro-sz-woff2
@@ -0,0 +1 @@
+font-office-code-pro
\ No newline at end of file
diff --git a/srcpkgs/font-office-code-pro/template b/srcpkgs/font-office-code-pro/template
new file mode 100644
index 00000000000..72262fc84d9
--- /dev/null
+++ b/srcpkgs/font-office-code-pro/template
@@ -0,0 +1,196 @@
+# Template file for 'font-office-code-pro'
+pkgname=font-office-code-pro
+version=1.004
+revision=1
+wrksrc="Office-Code-Pro-${version}"
+short_desc="Monospaced sans-serif font for text editors and coding environments"
+maintainer="Jony <maybe-one-day-ubermensch@protonmail.com>"
+license="OFL-1.1"
+homepage="https://github.com/nathco/Office-Code-Pro"
+distfiles="https://github.com/nathco/Office-Code-Pro/archive/${version}.tar.gz"
+checksum="9bca923d17f6c47a586d8e4567d46ccfa58fb8b8e2247b5ee2a19da1597c58f6"
+tags="monospaced sans-serif "
+
+__sz_eot_path="/usr/share/fonts/office-code-pro/slashed-zero/EOT"
+__sz_otf_path="/usr/share/fonts/office-code-pro/slashed-zero/OTF"
+__sz_ttf_path="/usr/share/fonts/office-code-pro/slashed-zero/TTF"
+__sz_woff_path="/usr/share/fonts/office-code-pro/slashed-zero/WOFF"
+__sz_woff2_path="/usr/share/fonts/office-code-pro/slashed-zero/WOFF2"
+
+__dz_eot_path="/usr/share/fonts/office-code-pro/dotted-zero/EOT"
+__dz_otf_path="/usr/share/fonts/office-code-pro/dotted-zero/OTF"
+__dz_ttf_path="/usr/share/fonts/office-code-pro/dotted-zero/TTF"
+__dz_woff_path="/usr/share/fonts/office-code-pro/dotted-zero/WOFF"
+__dz_woff2_path="/usr/share/fonts/office-code-pro/dotted-zero/WOFF2"
+
+# font specific variables
+archs=noarch
+depends="font-util"
+font_dirs="$__sz_eot_path $__sz_otf_path $__sz_ttf_path $__sz_woff_path $__sz_woff2_path "
+font_dirs+="$__dz_eot_path $__dz_otf_path $__dz_ttf_path $__dz_woff_path $__dz_woff2_path"
+
+do_install() {
+	tags="slashed-zero dotted-zero"
+
+	# slashed zero fonts
+	vmkdir ${__sz_eot_path:1}
+	install -Dm644 Fonts/'Office Code Pro'/EOT/*.eot ${DESTDIR}/${__sz_eot_path:1}
+
+	vmkdir ${__sz_otf_path:1}
+	install -Dm644 Fonts/'Office Code Pro'/OTF/*.otf ${DESTDIR}/${__sz_otf_path:1}
+
+	vmkdir ${__sz_ttf_path:1}
+	install -Dm644 Fonts/'Office Code Pro'/TTF/*.ttf ${DESTDIR}/${__sz_ttf_path:1}
+
+	vmkdir ${__sz_woff_path:1}
+	install -Dm644 Fonts/'Office Code Pro'/WOFF/*.woff ${DESTDIR}/${__sz_woff_path:1}
+
+	vmkdir ${__sz_woff2_path:1}
+	install -Dm644 Fonts/'Office Code Pro'/WOFF2/*.woff2 ${DESTDIR}/${__sz_woff2_path:1}
+
+	# dotted zero fonts
+	vmkdir ${__dz_eot_path:1}
+	install -Dm644 Fonts/'Office Code Pro D'/EOT/*.eot ${DESTDIR}/${__dz_eot_path:1}
+
+	vmkdir ${__dz_otf_path:1}
+	install -Dm644 Fonts/'Office Code Pro D'/OTF/*.otf ${DESTDIR}/${__dz_otf_path:1}
+
+	vmkdir ${__dz_ttf_path:1}
+	install -Dm644 Fonts/'Office Code Pro D'/TTF/*.ttf ${DESTDIR}/${__dz_ttf_path:1}
+
+	vmkdir ${__dz_woff_path:1}
+	install -Dm644 Fonts/'Office Code Pro D'/WOFF/*.woff ${DESTDIR}/${__dz_woff_path:1}
+
+	vmkdir ${__dz_woff2_path:1}
+	install -Dm644 Fonts/'Office Code Pro D'/WOFF2/*.woff2 ${DESTDIR}/${__dz_woff2_path:1}
+}
+
+post_install() {
+	vlicense LICENSE.txt
+}
+
+do_clean() {
+	unset __sz_{eot,otf,ttf,woff,woff2}_path
+	unset __dz_{eot,otf,ttf,woff,woff2}_path
+}
+
+font-office-code-pro-sz-eot_package() {
+	depends="font-util"
+	font_dirs=${__sz_eot_path}
+
+	tags+="slashed-zero"
+
+	pkg_install() {
+		vmkdir ${__sz_eot_path:1}
+		cp -a ${DESTDIR}/${__sz_eot_path:1} ${PKGDESTDIR}/${__sz_eot_path:1}
+	}
+}
+
+font-office-code-pro-sz-otf_package() {
+	depends="font-util"
+	font_dirs=${__sz_otf_path}
+
+	tags+="slashed-zero"
+
+	pkg_install() {
+		vmkdir ${__sz_otf_path:1}
+		cp -a ${DESTDIR}/${__sz_otf_path:1} ${PKGDESTDIR}/${__sz_otf_path:1}
+	}
+}
+
+font-office-code-pro-sz-ttf_package() {
+	depends="font-util"
+	font_dirs=${__sz_ttf_path}
+
+	tags+="slashed-zero"
+
+	pkg_install() {
+		vmkdir ${__sz_ttf_path:1}
+		cp -a ${DESTDIR}/${__sz_ttf_path:1} ${PKGDESTDIR}/${__sz_ttf_path:1}
+	}
+}
+
+font-office-code-pro-sz-woff_package() {
+	depends="font-util"
+	font_dirs=${__sz_woff_path}
+
+	tags+="slashed-zero"
+
+	pkg_install() {
+		vmkdir ${__sz_woff_path:1}
+		cp -a ${DESTDIR}/${__sz_woff_path:1} ${PKGDESTDIR}/${__sz_woff_path:1}
+	}
+}
+
+font-office-code-pro-sz-woff2_package() {
+	depends="font-util"
+	font_dirs=${__sz_woff2_path}
+
+	tags+="slashed-zero"
+
+	pkg_install() {
+		vmkdir ${__sz_woff2_path:1}
+		cp -a ${DESTDIR}/${__sz_woff2_path:1} ${PKGDESTDIR}/${__sz_woff2_path:1}
+	}
+}
+
+font-office-code-pro-dz-eot_package() {
+	depends="font-util"
+	font_dirs=${__dz_eot_path}
+
+	tags+="dotted-zero"
+
+	pkg_install() {
+		vmkdir ${__dz_eot_path:1}
+		cp -a ${DESTDIR}/${__dz_eot_path:1} ${PKGDESTDIR}/${__dz_eot_path:1}
+	}
+}
+
+font-office-code-pro-dz-otf_package() {
+	depends="font-util"
+	font_dirs=${__dz_otf_path}
+
+	tags+="dotted-zero"
+
+	pkg_install() {
+		vmkdir ${__dz_otf_path:1}
+		cp -a ${DESTDIR}/${__dz_otf_path:1} ${PKGDESTDIR}/${__dz_otf_path:1}
+	}
+}
+
+font-office-code-pro-dz-ttf_package() {
+	depends="font-util"
+	font_dirs=${__dz_ttf_path}
+
+	tags+="dotted-zero"
+
+	pkg_install() {
+		vmkdir ${__dz_ttf_path:1}
+		cp -a ${DESTDIR}/${__dz_ttf_path:1} ${PKGDESTDIR}/${__dz_ttf_path:1}
+	}
+}
+
+font-office-code-pro-dz-woff_package() {
+	depends="font-util"
+	font_dirs=${__dz_woff_path}
+
+	tags+="dotted-zero"
+
+	pkg_install() {
+		vmkdir ${__dz_woff_path:1}
+		cp -a ${DESTDIR}/${__dz_woff_path:1} ${PKGDESTDIR}/${__dz_woff_path:1}
+	}
+}
+
+font-office-code-pro-dz-woff2_package() {
+	depends="font-util"
+	font_dirs=${__dz_woff2_path}
+
+	tags+="dotted-zero"
+
+	pkg_install() {
+		vmkdir ${__dz_woff2_path:1}
+		cp -a ${DESTDIR}/${__dz_woff2_path:1} ${PKGDESTDIR}/${__dz_woff2_path:1}
+	}
+}
+

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-07-30 14:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-29 16:58 [PR PATCH] New package: font-office-code-pro-1.004 voidlinux-github
2019-07-29 17:17 ` [PR PATCH] [Updated] " voidlinux-github
2019-07-29 17:17 ` voidlinux-github
2019-07-30 14:34 ` voidlinux-github

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).