summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
Diffstat (limited to 'user')
-rw-r--r--user/anonymous-pro/APKBUILD17
1 files changed, 9 insertions, 8 deletions
diff --git a/user/anonymous-pro/APKBUILD b/user/anonymous-pro/APKBUILD
index 2ea302452..8719368a6 100644
--- a/user/anonymous-pro/APKBUILD
+++ b/user/anonymous-pro/APKBUILD
@@ -2,7 +2,9 @@
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=anonymous-pro
pkgver=1.003
-_prev=1.002
+_pkgver=$(printf '%s' "$pkgver" | tr '.' '_')
+pkgold=1.002
+_pkgold=$(printf '%s' "$pkgold" | tr '.' '_')
pkgrel=0
pkgdesc="Fixed-width (monospace) font designed for programming"
url="https://www.marksimonson.com/fonts/view/anonymous-pro"
@@ -12,14 +14,13 @@ license="OFL-1.1"
depends="fontconfig"
makedepends=""
subpackages=""
-source="https://www.marksimonson.com/assets/content/fonts/AnonymousPro-$_prev.zip
- https://www.marksimonson.com/assets/content/fonts/AnonymousProMinus-$pkgver.zip"
-builddir="$srcdir/AnonymousPro-1.002.001"
+source="https://www.marksimonson.com/assets/content/fonts/AnonymousProMinus-$_pkgver.zip
+ https://www.marksimonson.com/assets/content/fonts/AnonymousPro-$_pkgold.zip"
package() {
- install -m644 -Dt "$pkgdir"/usr/share/fonts/X11/TTF/ "$srcdir"/AnonymousPro-1.002.001/*.ttf
- install -m644 -Dt "$pkgdir"/usr/share/fonts/X11/TTF/ "$srcdir"/AnonymousProMinus-$pkgver/*.ttf
+ install -m644 -Dt "$pkgdir"/usr/share/fonts/X11/TTF/ "$srcdir"/AnonymousPro-$pkgold.001/*.ttf
+ install -m644 -Dt "$pkgdir"/usr/share/fonts/X11/TTF/ "$srcdir"/AnonymousProMinus-$_pkgver/*.ttf
}
-sha512sums="7606d520ad79fbf4e13d676c1aff61b764dce74e170f8783b8e606f7907c4b8db0871e5568504d15aa23ca26e925ada4eb6b60fcf27171dccee0d3d32d9a92a1 AnonymousPro-1.002.zip
-1c81c449edb80cdcaf10c9779a3b5b2ea09ce9d0c457f620384cb0486cb1987449ba5c5b57de4f8e01b7d3c4fd54e7ec45baf02ab75232b8c29c36381697baf9 AnonymousProMinus-1.003.zip"
+sha512sums="d0019892c2a2c2ab90142f01dffb6a3c115d436181060247061c24256d333ae2ab6f28e1a233657061cc8b068b02ee974e5b6ffe4b9c26fb1c792d713f81d7ab AnonymousProMinus-1_003.zip
+e34c757b6be907b84194b4506ec2389113bb0d3750d518d7b2f7f9deb992172fd625dfb5a9c105df985b796c15559a5fcf53b123e86449a3fb71fdbfb57b6dd1 AnonymousPro-1_002.zip"