You are not logged in.

#1 2008-12-18 15:54:34

zimt
Member
Registered: 2008-07-19
Posts: 17

PKGBUILD for g-brief (LaTeX)

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

#2 2008-12-18 16:38:42

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,391

Re: PKGBUILD for g-brief (LaTeX)

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. smile

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

#3 2008-12-18 16:45:47

zimt
Member
Registered: 2008-07-19
Posts: 17

Re: PKGBUILD for g-brief (LaTeX)

Thanks! Its not necessary to make an extra package then.

Offline

Board footer

Powered by FluxBB