diff options
author | JaHIY | 2022-03-21 12:12:38 +0800 |
---|---|---|
committer | JaHIY | 2022-03-21 12:12:38 +0800 |
commit | e87869c82d6335d715c4c3ddcf2ff24de65f078d (patch) | |
tree | a72fce9d0b318cbef9cb41fe5c9afdec8f7419dc | |
download | aur-ysabeau-git.tar.gz |
first commit
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 30 |
2 files changed, 46 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..ea0eed7e30e8 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = ysabeau-git + pkgdesc = The essence of Garamond in an open-source sans-serif typeface. + pkgver = 0.003.r107.gc620c84 + pkgrel = 1 + url = https://github.com/CatharsisFonts/Ysabeau + arch = any + license = OFL-1.1 License + makedepends = git + provides = otf-ysabeau=0.003.r107.gc620c84 + provides = ttf-ysabeau=0.003.r107.gc620c84 + source = git+https://github.com/CatharsisFonts/Ysabeau.git + sha256sums = SKIP + +pkgname = otf-ysabeau-git + +pkgname = ttf-ysabeau-git diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..f5582e9609d0 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: Kars Wang <jaklsy+aur at gmail dot com> + +_gitname=Ysabeau +pkgbase=ysabeau-git +pkgname=("otf-${pkgbase}" "ttf-${pkgbase}") +pkgver=0.003.r107.gc620c84 +pkgrel=1 +pkgdesc="The essence of Garamond in an open-source sans-serif typeface." +url='https://github.com/CatharsisFonts/Ysabeau' +arch=('any') +license=('OFL-1.1 License') +makedepends=('git') +provides=("otf-ysabeau=${pkgver}" "ttf-ysabeau=${pkgver}") +source=("git+${url}.git") +sha256sums=('SKIP') + +pkgver() { + cd "${_gitname}" + git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' +} + +package_otf-ysabeau-git() { + cd "${_gitname}" + install -Dm644 fonts/otf/*.otf -t "$pkgdir"/usr/share/fonts/OTF +} + +package_ttf-ysabeau-git() { + cd "${_gitname}" + install -Dm644 fonts/ttf/*.ttf -t "$pkgdir"/usr/share/fonts/TTF +} |