diff options
author | SLeitgeb | 2018-04-23 20:36:48 +0200 |
---|---|---|
committer | SLeitgeb | 2018-04-23 20:36:48 +0200 |
commit | bc690920ab18c7bc4de42af6ab7eddfcf433f3e7 (patch) | |
tree | 18644beaf19b19c26b089ed00d661a1f49574221 | |
download | aur-bc690920ab18c7bc4de42af6ab7eddfcf433f3e7.tar.gz |
Initial font commit
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 28 |
2 files changed, 42 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..c1c2f9bbf2a8 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = ttf-yosemite-san-francisco-font-git + pkgdesc = San Francisco font - the Apple Watch font + pkgver = 1.0.r2.g5a6e8ca + pkgrel = 1 + url = https://github.com/smith-neil/YosemiteSanFranciscoFont + arch = any + license = GPL + makedepends = git + provides = YosemiteSanFranciscoFont + source = git+https://github.com/smith-neil/YosemiteSanFranciscoFont.git + md5sums = SKIP + +pkgname = ttf-yosemite-san-francisco-font-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..6bf870f4230b --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Šimon Leitgeb <leitgeb.simon at gmail dot com> + +_pkgname=YosemiteSanFranciscoFont + +pkgname=ttf-yosemite-san-francisco-font-git +pkgver=1.0.r2.g5a6e8ca +pkgrel=1 +pkgdesc="San Francisco font - the Apple Watch font" +arch=('any') +url="https://github.com/smith-neil/YosemiteSanFranciscoFont" +license=('GPL') +groups=() +depends=() +makedepends=('git') +provides=($_pkgname) +source=('git+https://github.com/smith-neil/YosemiteSanFranciscoFont.git') +md5sums=('SKIP') + +pkgver() { + cd "$srcdir/$_pkgname" + git describe --tags --long | sed -r -e 's,^[^0-9]*,,;s,([^-]*-g),r\1,;s,[-_],.,g' +} + +package() { + cd "$srcdir/$_pkgname" + install -d "$pkgdir/usr/share/fonts/TTF" + install -m644 *.ttf "$pkgdir/usr/share/fonts/TTF" +} |