You are not logged in.
HacBurn is a script written in perl to aid in writing CDs. It is a graphical interface (using gtk+) to cdrtools, mpg321 and ogg123.
Screenie of hacburn in action (which is not very action)
I want to pkg it as i like supporting little things that do a lot - the things is what is the best way to set it up?
Here is first effort:
# dibblethewrecker
pkgname=HacBurn
pkgver=0.2
pkgrel=1
url="http://hacburn.sourceforge.net/"
pkgdesc="HacBurn is a script written in perl to aid in writing CDs. It is a graphical interface (using gtk+) to cdrtools, mpg321 and ogg123."
depends=('gtk2-perl' 'glib-perl' 'cdrtools' 'mpg321' 'vorbis-tools' 'gtk2' 'x-server')
source=(http://unc.dl.sourceforge.net/sourceforge/hacburn/$pkgname-$pkgver.tar.bz2)
build() {
mkdir -p $startdir/pkg/usr/bin/
install -m 755 $startdir/src/$pkgname-$pkgver/hacburn.pl
$startdir/pkg/usr/bin/hacburn.pl
}
.:EDIT:. you can ignoe the bit below here - i made my decision
is this the best way to pkg a script tho? There are loads of apps that feature bash scripts which are simply treated as bins and don't have a .sh extention. In this fashion would it be better to do:
build() {
mkdir -p $startdir/pkg/usr/{bin,share}
install -m 755 $startdir/src/$pkgname-$pkgver/hacburn.pl
$startdir/pkg/usr/share/hacburn.pl
ln -s $startdir/pkg/usr/share/hacburn.pl $startdir/pkg/usr/bin/hacburn
}
i think the first is better but it is the first time I have come across this
Offline
i just tried it, looks nice.
and found out it depends on glib-perl aswell.
Offline
nice one - i have no internet connection at the mo so my Arch life revolves around USB pens, internet cafes and patience
I also just managed to discover the last dependency
Based on my research as well i will leave the PKGBUILD as is i.e. install hacburn.pl to /usr/bin
I'll pop this sucker in my repo too
Offline