summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCaleb Maclennan2018-03-01 15:16:44 +0300
committerCaleb Maclennan2018-03-01 15:16:53 +0300
commit9a49e18f78880502f2c25d8142edceaee58eb9ea (patch)
tree2147df006c93af97afe0c1f6c72cf730b9e9851b
parent3c90d3e91e13c6cbac99a1225ffa82a2ee20fd4c (diff)
downloadaur-9a49e18f78880502f2c25d8142edceaee58eb9ea.tar.gz
Remove post_install function obsoleted by default fontconfig hook
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD8
-rw-r--r--ttf-hananiah.install15
3 files changed, 5 insertions, 23 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 62ce21327acb..7c1410e8910d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,11 +1,10 @@
# Generated by mksrcinfo v8
-# Mon Oct 24 16:30:44 UTC 2016
+# Thu Mar 1 12:16:34 UTC 2018
pkgbase = ttf-hananiah
pkgdesc = A Hebrew simulation typeface derived from Ezra SIL
pkgver = 2
- pkgrel = 1
+ pkgrel = 2
url = https://fontlibrary.org/en/font/hananiah
- install = ttf-hananiah.install
arch = any
license = custom:OFL
source = https://fontlibrary.org/assets/downloads/hananiah/5b316c3d0960044bc6c85e964c1de25f/hananiah.zip
diff --git a/PKGBUILD b/PKGBUILD
index d4f603a8a5e0..4a098192ac6f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,21 +2,19 @@
pkgname=ttf-hananiah
pkgver=2
-pkgrel=1
+pkgrel=2
pkgdesc="A Hebrew simulation typeface derived from Ezra SIL"
arch=('any')
url="https://fontlibrary.org/en/font/hananiah"
license=('custom:OFL')
-install=ttf-hananiah.install
source=("https://fontlibrary.org/assets/downloads/hananiah/5b316c3d0960044bc6c85e964c1de25f/${pkgname#ttf-}.zip")
sha256sums=('c8dd72f032508d7702b9d571efd9c45cc2ccb980f8a0ba8df2ee0c04e9248a12')
package() {
- cd "$srcdir/${pkgname#ttf-}"
+ cd "${pkgname#ttf-}"
install -d "$pkgdir/usr/share/fonts/TTF"
- install -Dm644 *.ttf "$pkgdir/usr/share/fonts/TTF"
+ install -Dm644 *.ttf "$pkgdir/usr/share/fonts/TTF/"
- # docs
install -d $pkgdir/usr/share/doc/$pkgname
install -m644 *.pdf "$pkgdir/usr/share/doc/$pkgname/"
}
diff --git a/ttf-hananiah.install b/ttf-hananiah.install
deleted file mode 100644
index e810c1531578..000000000000
--- a/ttf-hananiah.install
+++ /dev/null
@@ -1,15 +0,0 @@
-post_install() {
- echo -n "Updating font cache... "
- fc-cache -f > /dev/null
- mkfontscale /usr/share/fonts/TTF
- mkfontdir /usr/share/fonts/TTF
- echo "done"
-}
-
-post_upgrade() {
- post_install
-}
-
-post_remove() {
- post_install $1
-} \ No newline at end of file