Package Details: ttf-architects-daughter 1.004-1

Git Clone URL: https://aur.archlinux.org/architects-daughter-font.git (read-only, click to copy)
Package Base: architects-daughter-font
Description: a font incorporating the graphic, squared look of architectural writing and the natural feel of daily handwriting
Upstream URL: https://fonts.google.com/specimen/Architects+Daughter
Licenses: OFL
Provides: architects-daughter-font
Submitter: alerque
Maintainer: GPereira
Last Packager: GPereira
Votes: 0
Popularity: 0.000000
First Submitted: 2022-12-09 13:35 (UTC)
Last Updated: 2025-10-30 07:58 (UTC)

Dependencies (0)

Required by (0)

Sources (1)

Latest Comments

staticnoise commented on 2025-11-17 16:44 (UTC)

Here's a fix. Instead of pointing to main as Alexis did, I pin to a commit so the package installs reliably. I am not sure where does the 1.004 version come from.

diff --git a/PKGBUILD b/PKGBUILD
index 40198b6..460c1f1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,8 +10,14 @@ pkgdesc='a font incorporating the graphic, squared look of architectural writing
 arch=(any)
 url="https://fonts.google.com/specimen/Architects+Daughter"
 license=(OFL)
-source=("$_name-$pkgver.zip::https://fonts.google.com/download?family=Architects+Daughter")
-sha256sums=('4bb65d36ae128d45fe00c4a47c6793fda3615dedecfd38a441652a188431e16f')
+source=(
+    "https://github.com/google/fonts/raw/5f31230ff3fa9668cb2e0f020334041c5d558d5a/ofl/architectsdaughter/ArchitectsDaughter-Regular.ttf"
+    "https://github.com/google/fonts/raw/5f31230ff3fa9668cb2e0f020334041c5d558d5a/ofl/architectsdaughter/OFL.txt"
+)
+sha256sums=(
+    '6159718a08898e34bc1cb7354086141a5f9a70b73e54dbec27ead0d59a697359'
+    '0e441ae9f18ad0c294cc5b6ae3974c2db1614cab220598578b1b58c4cc334485'
+)

 package_ttf-architects-daughter() {
     provides=("$pkgbase")

AlexisBRENON commented on 2025-11-03 14:34 (UTC) (edited on 2025-11-05 16:28 (UTC) by AlexisBRENON)

Hi,

Using a pkgver with a . in it, result in a zip file named ...-1.004.zip. This is interpreted as a multipart zip file and fail to extract and so to install.

My bad, it's not linked to the file extension. Instead, the fetched file is not an actual ZIP file, it's an html file.

# curl 'https://fonts.google.com/download?family=Architects+Daughter' | file -i -
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  211k    0  211k    0     0  1112k      0 --:--:-- --:--:-- --:--:-- 1119k
/dev/stdin: text/html; charset=us-ascii

I manually changed the URL and the checksums to:

source=(
    "https://github.com/google/fonts/raw/refs/heads/main/ofl/architectsdaughter/ArchitectsDaughter-Regular.ttf"
    "https://github.com/google/fonts/raw/refs/heads/main/ofl/architectsdaughter/OFL.txt"
)
sha256sums=(
    '6159718a08898e34bc1cb7354086141a5f9a70b73e54dbec27ead0d59a697359'
    '0e441ae9f18ad0c294cc5b6ae3974c2db1614cab220598578b1b58c4cc334485'
)

And this fixed my issue. Not sure of the best way to integrate it properly with AUR (detecting updates to file, etc.)

GPereira commented on 2025-05-14 19:35 (UTC) (edited on 2025-05-14 19:43 (UTC) by GPereira)

PKGBUILD:

_name=architects-daughter
pkgbase=$_name-font
pkgname=(ttf-$_name)
pkgver=1.004
pkgrel=1
pkgdesc='a font incorporating the graphic, squared look of architectural writing and the natural feel of daily handwriting'
arch=(any)
url="https://fonts.google.com/specimen/Architects+Daughter"
license=(OFL)
source=("$_name-$pkgver.zip::https://fonts.google.com/download?family=Architects+Daughter")
sha256sums=('4bb65d36ae128d45fe00c4a47c6793fda3615dedecfd38a441652a188431e16f')

package_ttf-architects-daughter() {
    provides=("$pkgbase")
    install -Dm0644 -t "$pkgdir/usr/share/fonts/TTF/" *.ttf
    install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" OFL.txt

ab2422 commented on 2024-02-14 05:43 (UTC)

==> Validating source files with sha256sums...
architects-daughter-1.003.zip ... FAILED
==> ERROR: One or more files did not pass the validity check!