summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuis Martinez2021-08-21 12:55:16 -0500
committerLuis Martinez2021-08-21 12:55:23 -0500
commit7466fad83d24966b6e583a5eeb89295711f3ab86 (patch)
tree9183ce0665f8b667cb83e04aaa345b2a071a8a36
parentd665115a6e54f1c598485c57bf255c5e1a232554 (diff)
downloadaur-7466fad83d24966b6e583a5eeb89295711f3ab86.tar.gz
clean up package
-rw-r--r--.SRCINFO9
-rw-r--r--PKGBUILD17
2 files changed, 12 insertions, 14 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e13e3f178edb..c8cd6237fd51 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,12 +1,11 @@
pkgbase = ttf-caracteres
pkgdesc = A family of typefaces used on roadsigns in France.
pkgver = 1.0
- pkgrel = 4
- url = http://fonts.simplythebest.net/font/367/caracteres-font.font
+ pkgrel = 5
+ url = https://fonts.simplythebest.net/font/367/caracteres-font.font
arch = any
license = custom
- source = http://fonts.simplythebest.net/fonts/download=367
- md5sums = 22d9ae4cb9e04680e879e4c2850e471f
+ source = ttf-caracteres-1.0.zip::https://fonts.simplythebest.net/fonts/download=367
+ sha256sums = fc757e4429f1b4f469ef63f33c04f990064bfa7fb6e37a81946ff42c44f3ed32
pkgname = ttf-caracteres
-
diff --git a/PKGBUILD b/PKGBUILD
index 5af0c21a9452..29e15c9b357b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,18 +1,17 @@
+# Maintainer: Luis Martinez <luis dot martinez at disroot dot org>
# Contributor: feufochmar <feufochmar.gd@beleth.fr>
+
pkgname=ttf-caracteres
pkgver=1.0
-pkgrel=4
+pkgrel=5
pkgdesc="A family of typefaces used on roadsigns in France."
arch=('any')
-url="http://fonts.simplythebest.net/font/367/caracteres-font.font"
+url="https://fonts.simplythebest.net/font/367/caracteres-font.font"
license=('custom')
-depends=()
-source=("http://fonts.simplythebest.net/fonts/download=367")
+source=("$pkgname-$pkgver.zip::https://fonts.simplythebest.net/fonts/download=367")
+sha256sums=('fc757e4429f1b4f469ef63f33c04f990064bfa7fb6e37a81946ff42c44f3ed32')
package() {
- cd "$srcdir/"
- mkdir -p "$pkgdir"/usr/share/fonts/TTF
- install -m644 *.ttf "$pkgdir"/usr/share/fonts/TTF/
+ install -Dm 644 *.ttf -t "$pkgdir/usr/share/fonts/TTF/"
+ install -Dm 644 Caracteres.txt -t "$pkgdir/usr/share/doc/$pkgname/"
}
-
-md5sums=('22d9ae4cb9e04680e879e4c2850e471f')