summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Kluger2021-02-22 13:30:27 -0500
committerAndy Kluger2021-02-22 14:14:00 -0500
commite7f716d68c5bda718447e72003d3a363cebd6d4c (patch)
treead5726aea3eac8ae834ee499650482a0b865d461
parent83c07c73e8e02d746eddd00176b5a94581ceab83 (diff)
downloadaur-ttf-blogger-sans.tar.gz
remove install file, stuff now handled via pacman hooks
Rewrite using upstream (blogpost) host for source
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD27
-rw-r--r--ttf-blogger-sans.install15
3 files changed, 24 insertions, 33 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f96da568392..09c0b10ff7b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,14 +1,13 @@
pkgbase = ttf-blogger-sans
- pkgdesc = Blogger Sans font
+ pkgdesc = Blogger Sans font from https://firstsiteguide.com/
pkgver = 1.1
- pkgrel = 1
- install = ttf-blogger-sans.install
+ pkgrel = 2
arch = any
- license = Creative Commons Attribution 4.0 - CC BY 4.0
- depends = fontconfig
- depends = xorg-font-utils
- source = http://dl.static.1001fonts.net/niceid/b/l/blogger-sans.zip
- md5sums = dc82cd62c5c4abd94b4e221f061cfa0f
+ license = custom:CC BY 4.0
+ source = ttf-blogger-sans-1.1.zip::https://firstsiteguide.com/wp-content/uploads/2015/09/BloggerSansWebFontsConvertedFromOTF.zip
+ source = https://creativecommons.org/licenses/by/4.0/legalcode.txt
+ sha512sums = 89af98616c2eb74bce23b644d8e70f6785494af2a16d317fa3b84dec05296a02c1e33be8bad598fafa2dcd5be02889972663366ba9a14321d1e3c1957659ee2f
+ sha512sums = 520e5d53a5aed9c95e8d69ab1d9ef5e91492b141d07f0699dd77d91c292fa12b3fdd05aa01d7567a18e5f6bca28a888f78b117405454b2f24a3bb5ff77384768
pkgname = ttf-blogger-sans
diff --git a/PKGBUILD b/PKGBUILD
index a4fb5168666..e5993900598 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,15 +1,22 @@
pkgname=ttf-blogger-sans
-pkgver=1.0
-pkgrel=1
-pkgdesc="Blogger Sans font"
+pkgver=1.1
+pkgrel=2
+pkgdesc="Blogger Sans font from https://firstsiteguide.com/"
arch=(any)
-depends=(fontconfig xorg-font-utils)
-install=$pkgname.install
-source=('http://dl.static.1001fonts.net/niceid/b/l/blogger-sans.zip')
-md5sums=('dc82cd62c5c4abd94b4e221f061cfa0f')
- license=('Creative Commons Attribution 4.0 - CC BY 4.0')
+depends=()
+source=(
+ "${pkgname}-${pkgver}.zip::https://firstsiteguide.com/wp-content/uploads/2015/09/BloggerSansWebFontsConvertedFromOTF.zip"
+ 'https://creativecommons.org/licenses/by/4.0/legalcode.txt'
+)
+sha512sums=(
+ '89af98616c2eb74bce23b644d8e70f6785494af2a16d317fa3b84dec05296a02c1e33be8bad598fafa2dcd5be02889972663366ba9a14321d1e3c1957659ee2f'
+ '520e5d53a5aed9c95e8d69ab1d9ef5e91492b141d07f0699dd77d91c292fa12b3fdd05aa01d7567a18e5f6bca28a888f78b117405454b2f24a3bb5ff77384768'
+)
+license=('custom:CC BY 4.0')
package() {
- install -d "$pkgdir/usr/share/fonts/TTF"
- install -m644 "$srcdir/Blogger Sans/OT-tt/"*.ttf "$pkgdir/usr/share/fonts/TTF/"
+ install -d "${pkgdir}/usr/share/fonts/TTF"
+ install -m644 Blogger\ Sans/*.ttf "$pkgdir/usr/share/fonts/TTF/"
+ install -d "${pkgdir}/usr/share/licenses/${pkgname}"
+ install -m644 legalcode.txt "${pkgdir}/usr/share/licenses/${pkgname}/"
}
diff --git a/ttf-blogger-sans.install b/ttf-blogger-sans.install
deleted file mode 100644
index 802fd10702a..00000000000
--- a/ttf-blogger-sans.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
-} \ No newline at end of file