You are not logged in.
Hi guys!
As I got some time left the next few days, I decided to look over my (until now) private PKGBUILDS and make them accessible via AUR. This one is a PKGBUILD for g-brief, a German letter style for LaTeX.
First question: Should I name the package "g-brief", "texlive-g-brief" or something different?
Second question: Could you please have a look at the PKGBUILD and give me some hints/improvements before I do the first submission to AUR?
Cheers
zimt
pkgname=g-brief
pkgver=4.0.2
pkgrel=1
pkgdesc="German letter style for LaTeX"
arch=('i686' 'x86_64')
license=('lppl')
url=("http://tug.ctan.org/cgi-bin/ctanPackageInformation.py?id=g-brief")
makedepends=(texlive-bin)
install=$pkgname.install
source=(http://tug.ctan.org/get/macros/latex/contrib/g-brief.zip http://tug.ctan.org/get/macros/latex/base/lppl.txt)
md5sums=('203a8593c04a08a15e38776814e11941'
'11ef55b5ce8caf92b257eeb312fd3f9d')
build() {
_texmf_root=usr/local/share
cd $startdir/src/$pkgname/
rm beispiel.tex beispiel2.tex
latex $pkgname.ins
mkdir -p $startdir/pkg/$_texmf_root/texmf/tex/latex/$pkgname
cp g-brief.cls g-brief.sty g-brief2.cls g-brief2.sty $startdir/pkg/$_texmf_root/texmf/tex/latex/$pkgname
chmod -R 775 $startdir/pkg/$_texmf_root/texmf
mkdir -p $startdir/pkg/usr/share/licenses/$pkgname
cp $startdir/lppl.txt $startdir/pkg/usr/share/licenses/$pkgname/
}
Offline
Hello,
first, please do not upload this package to AUR. g-brief is included in texlife-latexextra. It is fine if you post it here.
LPPL is a common license, so you do not need to provide a license file. I think all letters should be uppercase.
To install to usr/local is okay for nonofficial and non-AUR-packages, otherwise it would be a mistake. Should be /usr/share/texmf then IMHO.
Keep up contributing!
Last edited by Stefan Husmann (2008-12-18 16:39:55)
Offline
Thanks! Its not necessary to make an extra package then.
Offline