You are not logged in.
Pages: 1
Hello there,
I want to publish a new font so I can learn about PKGBUILD and also use this new font !
Can someone tell me what is the utility of 'source=($pkgname-$pkgver.tar.gz)' ?
Is something wrong ?
PKGBUILD
# Maintainer: funilrys <funilrys@outlook.com>
pkgname=vampirekiss-fonts
pkgver=1.0
pkgrel=1
pkgdesc="This is the Vampire Kiss font from Misti's Fonts (http://mistifonts.com/vampire-kiss/) "
arch=(any)
depends=(fontconfig xorg-font-utils)
source=($pkgname-$pkgver.tar.gz)
install=$pkgname.install
package() {
install -Dm644 $pkgname/vampirekiss.ttf "$pkgdir"/usr/share/fonts/vampire_kiss/vampirekiss.ttf
}vampirekiss.install
post_install() {
fc-cache -s
}
post_upgrade() {
post_install
}
post_remove() {
post_install
}My last questions are about how does I have to organize my pakage folder ? Do I need to put an external 'source' or all will be right with git ?
Thanks in advance for your help !
Offline
Perhaps you should start with reading the Wiki documentation on PKGBUILDs. ![]()
Note also that sources can be a git/mercurial/subversion/cvs/bazaar repository as well: https://wiki.archlinux.org/index.php/VC … CS_sources
Managing AUR repos The Right Way -- aurpublish (now a standalone tool)
Offline
thanks ![]()
Offline
Pages: 1