summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Beard2019-11-10 20:17:21 +0800
committerJohn Beard2019-11-10 20:19:30 +0800
commita905546e71488340309267a5395ec787acc723e8 (patch)
treef52274f5bc05d380a096e89841ae770f48eb79e6
parent32215abcb9dfe71e69f980a25a604dae1018cdce (diff)
downloadaur-a905546e71488340309267a5395ec787acc723e8.tar.gz
Don't need .install file - hooks do this now
-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 a06b7b6d44ec..ab4666960a43 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 000000000000..c1eee700236b
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,6 @@
+*
+
+!.gitignore
+
+!PKGBUILD
+!.SRCINFO
diff --git a/PKGBUILD b/PKGBUILD
index 50fa98148253..ebbd41062e4b 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 d11a6d7f088b..000000000000
--- 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
-}