summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorJesús Castro2017-06-18 20:47:58 -0500
committerJesús Castro2017-06-18 20:47:58 -0500
commitc37a5402eec80285b0f7e48c382ead6ffaba029e (patch)
treea2ad288d7c6926e09e18af31c402484515ab09af /PKGBUILD
parentbf421978b3af90d578d6c0a5fdfeb184b51a1af8 (diff)
downloadaur-c37a5402eec80285b0f7e48c382ead6ffaba029e.tar.gz
update, minor fix
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD7
1 files changed, 3 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 9ba9c325bd5f..6b6f90866e0d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,8 +7,7 @@ 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' 'cpio')
-makedepends=('xar')
+depends=('fontconfig' 'xorg-font-utils')
source=("https://developer.apple.com/fonts/downloads/SFPro.zip")
sha256sums=('5c596d7d5d54fd309f973809edbc0297ac15979c2c40ebc380ae9397501306ed')
@@ -16,8 +15,8 @@ package() {
cd "$srcdir/SFPro"
mkdir pkg
- xar -xf 'San Francisco Pro.pkg' -C pkg
- gunzip -dc "pkg/San Francisco Pro.pkg/Payload" | cpio -i
+ 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/