summarylogtreecommitdiffstats
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
parentbf421978b3af90d578d6c0a5fdfeb184b51a1af8 (diff)
downloadaur-c37a5402eec80285b0f7e48c382ead6ffaba029e.tar.gz
update, minor fix
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD7
2 files changed, 4 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 305c0013f2c6..3927a1468024 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,5 +1,5 @@
# Generated by mksrcinfo v8
-# Mon Jun 19 01:41:33 UTC 2017
+# Mon Jun 19 01:47:37 UTC 2017
pkgbase = otf-san-francisco
pkgdesc = The system font for macOS, iOS, watchOS, and tvOS
pkgver = 1.1
@@ -7,10 +7,8 @@ pkgbase = otf-san-francisco
url = https://developer.apple.com/fonts/
arch = any
license = custom
- makedepends = xar
depends = fontconfig
depends = xorg-font-utils
- depends = cpio
source = https://developer.apple.com/fonts/downloads/SFPro.zip
sha256sums = 5c596d7d5d54fd309f973809edbc0297ac15979c2c40ebc380ae9397501306ed
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/