This commit is contained in:
24
pkg/aifont/PKGBUILD
Normal file
24
pkg/aifont/PKGBUILD
Normal file
@@ -0,0 +1,24 @@
|
||||
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"
|
||||
}
|
||||
Reference in New Issue
Block a user