summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Weimar2017-08-10 09:24:26 +0200
committerMarkus Weimar2017-08-10 09:24:26 +0200
commitc48c8511b284c51d57680dc5431bf94b6e3adac5 (patch)
treeca49fa6da321496b059246a6295143e07eb91ce3
parent0c4f544dea061b7fa1500a9fd190215dd63fa7f9 (diff)
downloadaur-c48c8511b284c51d57680dc5431bf94b6e3adac5.tar.gz
Remove obsolete '.install' file.
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD12
-rw-r--r--ttf-roboto-mono.install15
3 files changed, 7 insertions, 25 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d11d218ae139..f3876b83e851 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,12 +1,11 @@
# Generated by mksrcinfo v8
-# Thu Nov 3 07:15:51 UTC 2016
+# Thu Aug 10 07:23:57 UTC 2017
pkgbase = ttf-roboto-mono
pkgdesc = Roboto Mono is a monospaced addition to the Roboto type family.
pkgver = 2.000985
- pkgrel = 5
+ pkgrel = 6
epoch = 1
url = https://www.google.com/fonts/specimen/Roboto+Mono
- install = ttf-roboto-mono.install
arch = any
license = Apache
depends = fontconfig
diff --git a/PKGBUILD b/PKGBUILD
index 11b9b7c335f3..fe8d5702aa8b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,13 +1,13 @@
# Maintainer: Markus Weimar <mail@markusweimar.de>
pkgname=ttf-roboto-mono
pkgver=2.000985
-pkgrel=5
+pkgrel=6
epoch=1
-depends=('fontconfig' 'xorg-font-utils')
pkgdesc='Roboto Mono is a monospaced addition to the Roboto type family.'
arch=('any')
url='https://www.google.com/fonts/specimen/Roboto+Mono'
license=('Apache')
+depends=('fontconfig' 'xorg-font-utils')
source=('https://raw.githubusercontent.com/google/fonts/master/apache/robotomono/LICENSE.txt'
'https://raw.githubusercontent.com/google/fonts/master/apache/robotomono/RobotoMono-Bold.ttf'
'https://raw.githubusercontent.com/google/fonts/master/apache/robotomono/RobotoMono-BoldItalic.ttf'
@@ -19,7 +19,6 @@ source=('https://raw.githubusercontent.com/google/fonts/master/apache/robotomono
'https://raw.githubusercontent.com/google/fonts/master/apache/robotomono/RobotoMono-Regular.ttf'
'https://raw.githubusercontent.com/google/fonts/master/apache/robotomono/RobotoMono-Thin.ttf'
'https://raw.githubusercontent.com/google/fonts/master/apache/robotomono/RobotoMono-ThinItalic.ttf')
-install=${pkgname}.install
sha256sums=('cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30'
'6250e98e33a56ab2ca07bc61835a8f53ed85d231347fc9c74136c2d356b63875'
'1810ae41851032119f44f6988d90a308c9e117e075d69cbb7ffd63a3af75f815'
@@ -33,8 +32,7 @@ sha256sums=('cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30'
'5c851cc4efc0ce509394ea637e2dd9c9429c457a80245fc6a144fc04a8f63efe')
package() {
- cd ${srcdir}
- install -d ${pkgdir}/usr/share/fonts/TTF/
- install -m644 *.ttf ${pkgdir}/usr/share/fonts/TTF/
- install -D -m644 LICENSE.txt ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+ install -d ${pkgdir}/usr/share/fonts/TTF/
+ install -m644 ${srcdir}/*.ttf ${pkgdir}/usr/share/fonts/TTF/
+ install -D -m644 ${srcdir}/LICENSE.txt ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
}
diff --git a/ttf-roboto-mono.install b/ttf-roboto-mono.install
deleted file mode 100644
index 6032d30b1620..000000000000
--- a/ttf-roboto-mono.install
+++ /dev/null
@@ -1,15 +0,0 @@
-post_install() {
- echo -n "Updating font cache... "
- fc-cache -s
- mkfontscale /usr/share/fonts/TTF
- mkfontdir /usr/share/fonts/TTF
- echo "Done."
-}
-
-post_upgrade() {
- post_install $1
-}
-
-post_remove() {
- post_install $1
-}