summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Turner2017-01-04 11:53:50 -0500
committerWilliam Turner2017-01-04 11:53:50 -0500
commit63c9dcdc654c9899c809300f23f9f0d2f583523d (patch)
tree4779d78a0c5434c2ebd39627d85f0bd9049036a5
downloadaur-63c9dcdc654c9899c809300f23f9f0d2f583523d.tar.gz
Initial release
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD19
-rw-r--r--fonts.install11
3 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..fa4dad5cf30
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = ttf-dejavu-sans-code
+ pkgdesc = Monospaced font with programming ligatures based on DejaVu Sans Mono.
+ pkgver = 1.2
+ pkgrel = 1
+ url = https://github.com/SSNikolaevich/DejaVuSansCode
+ install = fonts.install
+ arch = any
+ license = custom:DejaVu Fonts License, Version 1.0
+ depends = fontconfig
+ depends = xorg-font-utils
+ source = https://github.com/SSNikolaevich/DejaVuSansCode/releases/download/v1.2/dejavu-code-ttf-1.2.tar.bz2
+ sha256sums = 812cb4881fd7e142682ae08dcfd0acf2858c2d4626623fc0174984685985206b
+
+pkgname = ttf-dejavu-sans-code
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..7d3322e0dc8
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,19 @@
+# Maintainer: William Turner <willtur.will@gmail.com>
+pkgname=ttf-dejavu-sans-code
+pkgver=1.2
+pkgrel=1
+pkgdesc='Monospaced font with programming ligatures based on DejaVu Sans Mono.'
+arch=('any')
+url='https://github.com/SSNikolaevich/DejaVuSansCode'
+license=('custom:DejaVu Fonts License, Version 1.0')
+depends=('fontconfig' 'xorg-font-utils')
+install=fonts.install
+source=("https://github.com/SSNikolaevich/DejaVuSansCode/releases/download/v${pkgver}/dejavu-code-ttf-${pkgver}.tar.bz2")
+sha256sums=('812cb4881fd7e142682ae08dcfd0acf2858c2d4626623fc0174984685985206b')
+
+package() {
+ cd ${srcdir}/dejavu-code-ttf-${pkgver}
+ install -d ${pkgdir}/usr/share/fonts/TTF/
+ install -m644 ttf/*.ttf ${pkgdir}/usr/share/fonts/TTF/
+ install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+}
diff --git a/fonts.install b/fonts.install
new file mode 100644
index 00000000000..ac6cb5b6f4a
--- /dev/null
+++ b/fonts.install
@@ -0,0 +1,11 @@
+post_install() {
+ fc-cache -s
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+}