summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorAndy Kluger2021-02-22 13:30:27 -0500
committerAndy Kluger2021-02-22 14:14:00 -0500
commite7f716d68c5bda718447e72003d3a363cebd6d4c (patch)
treead5726aea3eac8ae834ee499650482a0b865d461 /PKGBUILD
parent83c07c73e8e02d746eddd00176b5a94581ceab83 (diff)
downloadaur-e7f716d68c5bda718447e72003d3a363cebd6d4c.tar.gz
remove install file, stuff now handled via pacman hooks
Rewrite using upstream (blogpost) host for source
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD27
1 files changed, 17 insertions, 10 deletions
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}/"
}