summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD41
1 files changed, 27 insertions, 14 deletions
diff --git a/PKGBUILD b/PKGBUILD
index d9c6d1999d1..3c96f61c2ff 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,10 +1,11 @@
+# Maintainer: Wesley Moore <wes@wezm.net>
# Maintainer: Bao Trinh <aur@qubidt.com>
# requires that you already have a full copy of this font
pkgname=ttf-pragmatapro
-pkgver=0.821
-pkgrel=1
+pkgver=0.827
+pkgrel=3
pkgdesc="PragmataPro by Fabrizio Schiavi"
arch=('any')
url="http://www.fsd.it/shop/fonts/pragmatapro/"
@@ -12,20 +13,29 @@ license=('http://www.fsd.it/fonts/eula.htm')
depends=('fontconfig' 'xorg-font-utils')
install=$pkgname.install
source=("LICENSE")
-md5sums=('eb2608fd50ca421ecb9fc07de833a5ab')
+sha256sums=('8067e67a5d2153a8990ffc866de319a01d21f6021789812dd1a38219062e1475')
package() {
msg "You need a full copy of this font in order to install it"
files=(
- "PragmataProB_0821.ttf"
- "PragmataProI_0821.ttf"
- "PragmataProR_0821.ttf"
- "PragmataProZ_0821.ttf"
- "PragmataPro_Mono_B_0821.ttf"
- "PragmataPro_Mono_I_0821.ttf"
- "PragmataPro_Mono_R_0821.ttf"
- "PragmataPro_Mono_Z_0821.ttf"
+ "PragmataProB_0827.ttf"
+ "PragmataProB_liga_0827.ttf"
+ "PragmataProI_0827.ttf"
+ "PragmataProI_liga_0827.ttf"
+ "PragmataPro_Mono_B_0827.ttf"
+ "PragmataPro_Mono_B_liga_0827.ttf"
+ "PragmataPro_Mono_I_0827.ttf"
+ "PragmataPro_Mono_I_liga_0827.ttf"
+ "PragmataPro_Mono_R_0827.ttf"
+ "PragmataPro_Mono_R_liga_0827.ttf"
+ "PragmataPro_Mono_Z_0827.ttf"
+ "PragmataPro_Mono_Z_liga_0827.ttf"
+ "PragmataProR_0827.ttf"
+ "PragmataProR_liga_0827.ttf"
+ "PragmataProZ_0827.ttf"
+ "PragmataProZ_liga_0827.ttf"
)
+
for i in "${files[@]}"
do
if [[ ! -f $i ]]; then
@@ -35,9 +45,12 @@ package() {
msg "Found ${i}"
fi
done
- msg "Found all files, instaling..."
+ msg "Found all files, installing..."
install -d "$pkgdir/usr/share/fonts/TTF/"
- install -m644 *.ttf "$pkgdir/usr/share/fonts/TTF/"
- install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname"
+ for i in "${files[@]}"
+ do
+ install -m644 "$i" "$pkgdir/usr/share/fonts/TTF/"
+ done
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname"
}