1
Fork 0

First commit

This commit is contained in:
Steffo 2024-10-13 02:55:39 +02:00
commit 5eae9e62e7
Signed by: steffo
GPG key ID: 5ADA3868646C3FC0
3 changed files with 50 additions and 0 deletions

14
.SRCINFO Normal file
View file

@ -0,0 +1,14 @@
pkgbase = ttf-ar-one-sans-variable-git
pkgdesc = Fonts for augmented and virtual reality
pkgver = 1.001.r0.g6dc5e68
pkgrel = 1
url = https://github.com/niteeshy/ar-one-sans
arch = any
license = OFL-1.1
makedepends = git
provides = ttf-ar-one-sans-variable=1.001.r0.g6dc5e68
conflicts = ttf-ar-one-sans-variable
source = ttf-ar-one-sans-variable-git::git+https://github.com/niteeshy/ar-one-sans.git
md5sums = SKIP
pkgname = ttf-ar-one-sans-variable-git

4
.gitignore vendored Normal file
View file

@ -0,0 +1,4 @@
/pkg/
/src/
/*.tar.zst
/ttf-ar-one-sans-variable-git

32
PKGBUILD Normal file
View file

@ -0,0 +1,32 @@
# Maintainer: Stefano Pigozzi <me@steffo.eu>
pkgname=ttf-ar-one-sans-variable-git
pkgver=1.001.r0.g6dc5e68
pkgrel=1
pkgdesc='Fonts for augmented and virtual reality'
url='https://github.com/niteeshy/ar-one-sans'
license=('OFL-1.1')
arch=('any')
conflicts=('ttf-ar-one-sans-variable')
provides=("ttf-ar-one-sans-variable=${pkgver}")
source=("${pkgname}::git+${url}.git")
md5sums=("SKIP")
makedepends=('git')
pkgver() {
cd "$pkgname"
git describe --long --tags --abbrev=7 | sed 's/^v//' | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
package() {
install -dm 755 "${pkgdir}/usr/share/fonts/${pkgname}"
install -m 644 "${pkgname}/fonts/ttf/AROneSansRetina-Bold.ttf" "${pkgdir}/usr/share/fonts/${pkgname}/AROneSansRetina-Bold.ttf"
install -m 644 "${pkgname}/fonts/ttf/AROneSansRetina-Medium.ttf" "${pkgdir}/usr/share/fonts/${pkgname}/AROneSansRetina-Medium.ttf"
install -m 644 "${pkgname}/fonts/ttf/AROneSansRetina-Regular.ttf" "${pkgdir}/usr/share/fonts/${pkgname}/AROneSansRetina-Regular.ttf"
install -m 644 "${pkgname}/fonts/ttf/AROneSansRetina-SemiBold.ttf" "${pkgdir}/usr/share/fonts/${pkgname}/AROneSansRetina-SemiBold.ttf"
install -m 644 "${pkgname}/fonts/variable/AROneSans[ARRR,wght].ttf" "${pkgdir}/usr/share/fonts/${pkgname}/AROneSans[ARRR,wght].ttf"
install -Dm644 "${pkgname}/OFL.txt" "${pkgdir}/usr/share/licenses/$pkgname/LICENSE"
}