summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Weimar2017-08-10 09:15:41 +0200
committerMarkus Weimar2017-08-10 09:15:41 +0200
commit232fbbedbd4899a3e6206dfe9337b915dadd9bae (patch)
tree089597268f52062ad0c1118f8f93beb9a032ed0c
parent5aaff61d226b19b2a7cffe4bc65150a47ae8b593 (diff)
downloadaur-232fbbedbd4899a3e6206dfe9337b915dadd9bae.tar.gz
Remove obsolete '.install' file.
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD12
-rw-r--r--ttf-roboto-slab.install15
3 files changed, 8 insertions, 24 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 4b094c9df4c8..671e7dd05bca 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,10 +1,11 @@
+# Generated by mksrcinfo v8
+# Thu Aug 10 07:14:01 UTC 2017
pkgbase = ttf-roboto-slab
pkgdesc = Roboto Slab is a slab serif addition to the Roboto type family.
pkgver = 1.100263
- pkgrel = 2
+ pkgrel = 3
epoch = 3
url = https://www.google.com/fonts/specimen/Roboto+Slab
- install = ttf-roboto-slab.install
arch = any
license = Apache
depends = fontconfig
diff --git a/PKGBUILD b/PKGBUILD
index 8fc0d3d8ea15..2235417bdc07 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,19 +2,18 @@
# Contributor: Brandon Giesing <brandon@giesing.cf>
pkgname=ttf-roboto-slab
pkgver=1.100263
-pkgrel=2
+pkgrel=3
epoch=3
-depends=('fontconfig' 'xorg-font-utils')
pkgdesc='Roboto Slab is a slab serif addition to the Roboto type family.'
arch=('any')
url='https://www.google.com/fonts/specimen/Roboto+Slab'
license=('Apache')
+depends=('fontconfig' 'xorg-font-utils')
source=('https://raw.githubusercontent.com/google/fonts/master/apache/robotoslab/LICENSE.txt'
'https://raw.githubusercontent.com/google/fonts/master/apache/robotoslab/RobotoSlab-Bold.ttf'
'https://raw.githubusercontent.com/google/fonts/master/apache/robotoslab/RobotoSlab-Light.ttf'
'https://raw.githubusercontent.com/google/fonts/master/apache/robotoslab/RobotoSlab-Regular.ttf'
'https://raw.githubusercontent.com/google/fonts/master/apache/robotoslab/RobotoSlab-Thin.ttf')
-install=${pkgname}.install
sha256sums=('cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30'
'ba12d2eab1fa765b6b05398fa7e047dd76293f0c051ce57a8f7b0c591c14d42b'
'153bf5b428d5cd0b27a63f9a36941cd7d6c7523a7afd59c76a12f798e4c33127'
@@ -22,8 +21,7 @@ sha256sums=('cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30'
'4e2f26097538925162cad2a3e6051f659b9895386559a1890a4664d8e9a9a0c1')
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/*.ttf ${pkgdir}/usr/share/fonts/TTF/
+ install -D -m644 ${srcdir}/LICENSE.txt ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
}
diff --git a/ttf-roboto-slab.install b/ttf-roboto-slab.install
deleted file mode 100644
index 664613478fb5..000000000000
--- a/ttf-roboto-slab.install
+++ /dev/null
@@ -1,15 +0,0 @@
-post_install() {
- echo -n "Updating font cache... "
- fc-cache -sf
- mkfontscale /usr/share/fonts/TTF
- mkfontdir /usr/share/fonts/TTF
- echo "done."
-}
-
-post_upgrade() {
- post_install $1
-}
-
-post_remove() {
- post_install $1
-}