summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCaleb Maclennan2020-03-19 20:59:07 +0300
committerCaleb Maclennan2020-03-19 23:14:06 +0300
commit3bd294132380251b0b59d7ba9b6d3fe10bd13043 (patch)
tree73803c354331024396f55f9f7626b962e3294ddc
parentc0fcc8795fe8ed35c7e5f54d8229828e44101a50 (diff)
downloadaur-3bd294132380251b0b59d7ba9b6d3fe10bd13043.tar.gz
Adopt, drop obsolete dependencies, use working source URL
-rw-r--r--.SRCINFO15
-rw-r--r--.gitignore5
-rw-r--r--PKGBUILD26
-rw-r--r--ttf.install16
4 files changed, 21 insertions, 41 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 5580368b67ce..89d93236fb94 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,19 +1,14 @@
-# Generated by mksrcinfo v8
-# Sun May 22 18:34:12 UTC 2016
pkgbase = ttf-sbl-hebrew
- pkgdesc = SBL Hebrew biblical font.
+ pkgdesc = Society of Biblical Literature’s Hebrew font
pkgver = 1.56a_Build016
- pkgrel = 1
+ pkgrel = 2
url = https://www.sbl-site.org/educational/BiblicalFonts_SBLHebrew.aspx
- install = ttf.install
arch = any
license = custom
- depends = fontconfig
- depends = xorg-font-utils
- source = http://www.sbl-site.org/Fonts/SBL_Hbrw.ttf
+ source = https://www.sbl-site.org/Fonts/SBL_Hbrw.ttf
source = LICENSE
- sha1sums = 5b0b79e237e62532b81c7626219f232553ec9b95
- sha1sums = 9d5a3931ce42dce53f245e9a8a0803a7c2c98751
+ sha256sums = 98eca8ecc97af984e205c282d6a0e994af41612029e49a223e85677b71cf9e99
+ sha256sums = a788cd2cf15ddb83bcf0129e006fb77270cd72c15c3fda3c0b88558af7dcc5bb
pkgname = ttf-sbl-hebrew
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 000000000000..cc38ad8dae7f
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,5 @@
+*
+!./.SRCINFO
+!./.gitignore
+!./LICENSE
+!./PKGBUILD
diff --git a/PKGBUILD b/PKGBUILD
index 2969788a1b81..d156de0670a0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,23 +1,19 @@
-# Maintainer: OmeGa <omega [U+0040] mailoo [.] org>
+# Maintainer: Caleb Maclennan <caleb@alerque.com>
+# Contributor: OmeGa <omega [U+0040] mailoo [.] org>
pkgname=ttf-sbl-hebrew
pkgver=1.56a_Build016
-pkgrel=1
-pkgdesc="SBL Hebrew biblical font."
+pkgrel=2
+pkgdesc='Society of Biblical Literature’s Hebrew font'
arch=('any')
-url="https://www.sbl-site.org/educational/BiblicalFonts_SBLHebrew.aspx"
+url='https://www.sbl-site.org/educational/BiblicalFonts_SBLHebrew.aspx'
license=('custom')
-depends=('fontconfig' 'xorg-font-utils')
-install=ttf.install
-source=("http://www.sbl-site.org/Fonts/SBL_Hbrw.ttf"
- "LICENSE")
-sha1sums=('5b0b79e237e62532b81c7626219f232553ec9b95'
- '9d5a3931ce42dce53f245e9a8a0803a7c2c98751')
+source=('https://www.sbl-site.org/Fonts/SBL_Hbrw.ttf'
+ 'LICENSE')
+sha256sums=('98eca8ecc97af984e205c282d6a0e994af41612029e49a223e85677b71cf9e99'
+ 'a788cd2cf15ddb83bcf0129e006fb77270cd72c15c3fda3c0b88558af7dcc5bb')
package() {
- cd "$srcdir"
- install -Dm644 SBL_Hbrw.ttf "$pkgdir/usr/share/fonts/TTF/SBL_Hbrw.ttf"
- install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ install -Dm644 -t "$pkgdir/usr/share/fonts/TTF/" SBL_Hbrw.ttf
+ install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE
}
-
-# vim:set ts=2 sw=2 et:
diff --git a/ttf.install b/ttf.install
deleted file mode 100644
index 905d8c8c7702..000000000000
--- a/ttf.install
+++ /dev/null
@@ -1,16 +0,0 @@
-post_install() {
- echo -n "Updating font cache... "
- fc-cache -fs >/dev/null
- mkfontscale /usr/share/fonts/TTF
- mkfontdir /usr/share/fonts/TTF
- echo "done."
-}
-
-post_upgrade() {
- post_install $1
-}
-
-post_remove() {
- post_install $1
-}
-