Package Details: ttf-impallari-lobster-font 1.7-2

Git Clone URL: https://aur.archlinux.org/ttf-impallari-lobster-font.git (read-only, click to copy)
Package Base: ttf-impallari-lobster-font
Description: A lovely bold condensed script font (TTF), from Pablo Impallari
Upstream URL: https://github.com/impallari/The-Lobster-Font
Licenses: OFL
Groups: impallari-fonts
Submitter: chelqo
Maintainer: SpotlightKid
Last Packager: SpotlightKid
Votes: 7
Popularity: 0.003678
First Submitted: 2012-08-01 03:13
Last Updated: 2020-08-29 17:15

Dependencies (0)

Required by (1)

Sources (1)

Latest Comments

SpotlightKid commented on 2020-07-14 13:40

Here's an update to the PKGBUILD:

diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..368dc98
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,5 @@
+pkg/
+src/
+ttf-impallari-lobster-font-*.pkg.tar.xz
+ttf-impallari-lobster-font-*.pkg.tar.zst
+lobster-font-*.zip
diff --git a/PKGBUILD b/PKGBUILD
index 77e93e3..6fd91dc 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,33 +1,23 @@
-# Contributor: Marcos Heredia <chelqo@gmail.com>
+# Maintainer: Marcos Heredia <chelqo@gmail.com>
+# Contributor: Christopher Arndt <aur -at- chrisarndt -dot- de>

 _font="lobster-font"
 _group="impallari"
 pkgname=ttf-${_group}-${_font}
 pkgver=1.7
-pkgrel=1
-pkgdesc="A lovely bold condensed script (OTF), from Pablo Impallari"
+pkgrel=2
+pkgdesc="A lovely bold condensed script font (TTF), from Pablo Impallari"
 arch=(any)
-url="http://www.impallari.com/lobster/"
-license=('custom:OFL')
+url="https://github.com/impallari/The-Lobster-Font"
+license=('OFL')
 groups=("${_group}-fonts")
-depends=('fontconfig' 'xorg-font-utils')
-#install=updatefont.install
-#source=("http://www.impallari.com/media/releases/${_font}-${pkgver}.zip")
-#md5sums=('ed3c3873340a17276a8ad556ecf3da5a')
-#source=("${_font}-${pkgver}.zip::https://fonts.google.com/download?family=Lobster")
-#md5sums=('72a360e59e977abb5e92a6bdbc3d6740')
 source=("${_font}-${pkgver}.zip::https://github.com/impallari/The-Lobster-Font/archive/master.zip")
-md5sums=('8c3d8eee96154344d44c91a7275f389c')
+sha256sums=('501ebbe8ebcadeb33d5b21786c57023236b996ed71a8900f0475e5252a996863')

 package() {
   cd ${srcdir}/The-Lobster-Font-master

-  install -dm755 "${pkgdir}/usr/share/fonts/TTF/${_group}"
-  install -Dpm644 fonts/ttf/*.ttf "${pkgdir}/usr/share/fonts/TTF/${_group}"
-
-  install -dm755 "${pkgdir}/usr/share/licenses/${pkgname}/"
-  install -Dpm644 OFL.txt "${pkgdir}/usr/share/licenses/${pkgname}/"
-
-  install -dm755 "${pkgdir}/usr/share/doc/${pkgname}/"
-  install -Dpm644 DESCRIPTION.en_us.html README.md "${pkgdir}/usr/share/doc/${pkgname}/"
+  install -Dpm644 fonts/ttf/*.ttf -t "${pkgdir}/usr/share/fonts/TTF/${_group}"
+  install -Dpm644 OFL.txt -t "${pkgdir}/usr/share/licenses/${pkgname}/"
+  install -Dpm644 DESCRIPTION.en_us.html README.md -t "${pkgdir}/usr/share/doc/${pkgname}/"
 }
diff --git a/updatefont.install b/updatefont.install
deleted file mode 100644
index 43e14fb..0000000
--- a/updatefont.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
-}

SpotlightKid commented on 2020-07-03 15:45

The package xorg-font-utils was removed. Please update the dependencies.

Also, the impalleri.com homepage does not resolve anymore.

ahrs commented on 2017-08-21 01:54

Line 19 should be changed from "cd ${srcdir}/*" to "cd ${srcdir}/*/" without this the wildcard expands into the source directory and the zip file so the PKGBUILD fails.

sed -i 's/cd ${srcdir}\/\*/cd ${srcdir}\/\*\//g' PKGBUILD

chelqo commented on 2012-08-21 04:18

Impallari fonts sample sheet:
http://dl.dropbox.com/u/1468283/Fonts/impallari.pdf