25 lines
511 B
Bash
25 lines
511 B
Bash
pkgname=aifont
|
|
pkgver=0.0.1
|
|
pkgrel=1
|
|
|
|
pkgdesc='Custom font for aios'
|
|
arch=('any')
|
|
url='https://git.syui.ai/ai/font'
|
|
license=('MIT')
|
|
source=("git+https://git.syui.ai/ai/font.git#branch=main")
|
|
sha256sums=('SKIP')
|
|
|
|
pkgver() {
|
|
cd font
|
|
printf "%s.r%s.g%s" \
|
|
"0.0.1" \
|
|
"$(git rev-list --count HEAD)" \
|
|
"$(git rev-parse --short HEAD)"
|
|
}
|
|
|
|
package() {
|
|
cd font
|
|
install -Dm644 aifont.ttf "$pkgdir/usr/share/fonts/TTF/aifont.ttf"
|
|
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
|
}
|