summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorJesús Castro2020-06-30 17:56:28 -0500
committerJesús Castro2020-06-30 17:56:28 -0500
commit7a4c5effff14485c1b97e42e18856d5b1770b734 (patch)
tree73103cd48605beb53b03a7f32c83f7b3cc05caa2 /PKGBUILD
parenta9d4f3fcb70b4ae43700e08e8e085f385850035e (diff)
downloadaur-otf-san-francisco.tar.gz
Removal of "xorg-font-utils" transitional package
Signed-off-by: Jesús Castro <x51v4n@gmail.com>
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD20
1 files changed, 9 insertions, 11 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 7e87898ff77..51b687427cf 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,17 +1,15 @@
# Maintainer: Jesús Castro <x51v4n@gmail.com>
pkgname=otf-san-francisco
-pkgver=1.0
-pkgrel=6
+pkgver=2
+pkgrel=1
epoch=1
-pkgdesc='The system font for macOS, iOS, watchOS, and tvOS'
+pkgdesc="The system font for macOS, iOS, watchOS, and tvOS"
arch=('any')
license=('custom')
-url='https://developer.apple.com/fonts/'
-depends=('fontconfig'
- 'xorg-font-utils')
+url="https://developer.apple.com/fonts/"
+depends=('fontconfig')
source=(SFPro-1.0.zip::https://developer.apple.com/fonts/downloads/SFPro.zip)
-#sha256sums=('1235856837d0123a4ea3f434933381c90f808e0e05e04af965c873a5d7ce3bd6')
sha512sums=('7001638787c7580a7cd1c40d92af8c680187ebfad832fe0ec4e97ccc15d925a9928e97b1e5bfd39db1789eb955bf0fcbb954a990b2ef2b56b41da7a13a6bd6cd')
package() {
@@ -21,10 +19,10 @@ package() {
bsdtar xvPf 'San Francisco Pro.pkg' || true
bsdtar xvPf 'San Francisco Pro.pkg/Payload'
- install -d $pkgdir/usr/share/fonts/OTF/
- install -m644 Library/Fonts/*.otf $pkgdir/usr/share/fonts/OTF/
+ install -d "$pkgdir"/usr/share/fonts/OTF/
+ install -m644 Library/Fonts/*.otf "$pkgdir"/usr/share/fonts/OTF/
- install -d $pkgdir/usr/share/licenses/$pkgname/
- install -m644 'SF Pro Font License.rtf' $pkgdir/usr/share/licenses/$pkgname/LICENSE.rtf
+ install -d "$pkgdir"/usr/share/licenses/"$pkgname"/
+ install -m644 'SF Pro Font License.rtf' "$pkgdir"/usr/share/licenses/"$pkgname"/LICENSE.rtf
}