Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Patch file for d2coding font 1.2
From 428b2335978c852f0816cdb3c1de07db1db01a0d Mon Sep 17 00:00:00 2001
From: Chiwan Park <chiwanpark@icloud.com>
Date: Fri, 13 Jan 2017 11:43:44 +0900
Subject: [PATCH] Update font version to 1.2 and fix upstream URL
---
.SRCINFO | 10 ++++------
PKGBUILD | 11 +++++------
2 files changed, 9 insertions(+), 12 deletions(-)
diff --git a/.SRCINFO b/.SRCINFO
index 44d53d6..a17a819 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,18 +1,16 @@
-# Generated by mksrcinfo v8
-# Fri Jan 8 07:42:31 UTC 2016
pkgbase = ttf-d2coding
pkgdesc = D2Coding Fixed Width TrueType fonts
- pkgver = 1.1
+ pkgver = 1.2
pkgrel = 1
- url = http://dev.naver.com/projects/d2coding
+ url = http://github.com/naver/d2codingfont
install = ttf.install
arch = any
license = OFL
depends = fontconfig
depends = xorg-font-utils
provides = ttf-font
- source = http://dev.naver.com/frs/download.php/11568/D2Coding-Ver1.1-TTC-20151103.zip
- md5sums = 04b24a880d24a0203edd32ced3f0097d
+ source = https://github.com/naver/d2codingfont/releases/download/VER1.21/D2Coding-1.2.zip
+ md5sums = 0d612065ae74698bc9ec13d708658f6d
pkgname = ttf-d2coding
diff --git a/PKGBUILD b/PKGBUILD
index 1b05c5f..c1782ff 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,21 +1,20 @@
# Contributor : Jinho Jeong <jjinho0203@gmail.com>
pkgname=ttf-d2coding
-pkgver=1.1
+pkgver=1.2
pkgrel=1
pkgdesc="D2Coding Fixed Width TrueType fonts"
arch=('any')
-url="http://dev.naver.com/projects/d2coding"
+url="http://github.com/naver/d2codingfont"
license=('OFL')
depends=('fontconfig' 'xorg-font-utils')
provides=('ttf-font')
install=ttf.install
-source=('http://dev.naver.com/frs/download.php/11568/D2Coding-Ver1.1-TTC-20151103.zip')
-md5sums=('04b24a880d24a0203edd32ced3f0097d')
+source=('https://github.com/naver/d2codingfont/releases/download/VER1.21/D2Coding-1.2.zip')
+md5sums=('0d612065ae74698bc9ec13d708658f6d')
package() {
install -dm 755 ${pkgdir}/usr/share/fonts/TTF
-
- install -m 644 -T ${srcdir}/D2Coding.ttc ${pkgdir}/usr/share/fonts/TTF/D2Coding.ttc
+ install -m 644 -T ${srcdir}/D2Coding.ttc ${pkgdir}/usr/share/fonts/TTF/D2Coding.ttc
}
--
2.11.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.