summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO5
-rw-r--r--.gitignore6
-rw-r--r--PKGBUILD3
-rw-r--r--tgl-ttf.install15
4 files changed, 10 insertions, 19 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a06b7b6d44e..ab4666960a4 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,11 +1,12 @@
pkgbase = tgl-ttf
pkgdesc = TGL DIN ISO custom font
pkgver = 1.0
- pkgrel = 1
+ pkgrel = 2
url = http://www.1001fonts.com/tgl-font.html
- install = tgl-ttf.install
arch = any
license = custom:SIL Open Font License v1.1
+ depends = fontconfig
+ depends = xorg-font-utils
source = http://dl.1001fonts.com/tgl.zip
md5sums = 84e185e597f39e0a6629179fa2b0da5e
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..c1eee700236
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,6 @@
+*
+
+!.gitignore
+
+!PKGBUILD
+!.SRCINFO
diff --git a/PKGBUILD b/PKGBUILD
index 50fa9814825..ebbd41062e4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,14 +3,13 @@
pkgname=tgl-ttf
pkgver=1.0
-pkgrel=1
+pkgrel=2
url="http://www.1001fonts.com/tgl-font.html"
license=('custom:SIL Open Font License v1.1')
pkgdesc='TGL DIN ISO custom font'
arch=('any')
source=("http://dl.1001fonts.com/tgl.zip")
depends=('fontconfig' 'xorg-font-utils')
-install=$pkgname.install
md5sums=('84e185e597f39e0a6629179fa2b0da5e')
package() {
diff --git a/tgl-ttf.install b/tgl-ttf.install
deleted file mode 100644
index d11a6d7f088..00000000000
--- a/tgl-ttf.install
+++ /dev/null
@@ -1,15 +0,0 @@
-post_install() {
- echo -n "Updating font cache... "
- fc-cache >/dev/null -f
- mkfontscale /usr/share/fonts/TTF
- mkfontdir /usr/share/fonts/TTF
- echo done
-}
-
-post_upgrade() {
- post_install
-}
-
-post_remove() {
- post_install
-}