#Maintainer: Pierrick LE BRUN <akuna@free.fr> 

pkgname=isomaster
pkgver=1.3
pkgrel=1
zenver=50
arch=i486
source=(http://littlesvr.ca/isomaster/releases/isomaster-1.3.tar.bz2)
docs=("*readme*" "*install*" "*copying*" "*changelog*" "*authors*" "*news*" "*todo*" "*txt*")
url=http://littlesvr.ca/isomaster/index.php

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"$pkgname is an open-source, GUI CD image editor for Linux and BSD."
"Basically you can use this program to extract files from an ISO,"
"add files to an ISO, and create bootable ISOs"
"all in a graphical user interface"
)


build() {
	cd $startdir/src/$pkgname-$pkgver
	sed 's/\/usr\/local/\/usr/' -i Makefile
	sed 's/(ICONPATH)\/isomaster\.png/ isomaster/' -i Makefile
	mkdir -p $startdir/pkg/usr/share/icons/hicolor/48x48/apps
	convert -resize 48x48 icons/isomaster.png $startdir/pkg/usr/share/icons/hicolor/48x48/apps/isomaster.png
	make || return 1
	make install DESTDIR=$startdir/pkg
} 
