diff options
author | Jesús Castro | 2017-06-18 20:47:58 -0500 |
---|---|---|
committer | Jesús Castro | 2017-06-18 20:47:58 -0500 |
commit | c37a5402eec80285b0f7e48c382ead6ffaba029e (patch) | |
tree | a2ad288d7c6926e09e18af31c402484515ab09af | |
parent | bf421978b3af90d578d6c0a5fdfeb184b51a1af8 (diff) | |
download | aur-c37a5402eec80285b0f7e48c382ead6ffaba029e.tar.gz |
update, minor fix
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 7 |
2 files changed, 4 insertions, 7 deletions
@@ -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 @@ -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/ |