#Maintainer: fushark #Former Maintainer: Johannes Marbach (hennes) pkgname=mhwaveedit pkgver=1.4.15 pkgrel=1 zenver=54 arch=i486 source=("http://download.gna.org/mhwaveedit/mhwaveedit-$pkgver.tar.bz2" "mhwaveedit.png") sourcetemplate=http://users.zenwalk.org/user-accounts/fushark/unofficial/mhwaveedit docs=("about-nls" "authors" "bugs" "copying" "changelog" "hacking" "install" "news" "readme" "todo") url=https://gna.org/projects/mhwaveedit extradepends=("lame") slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "$pkgname (Record, play, and edit audio files in wav, ogg, and mp3)" "mhWaveEdit is a graphical program for editing, playing and recording" "sound files. It is lightweight, portable, user-friendly and handles" "large files very well." "" "The program itself has only simple editing features such as" "cut'n'paste and volume adjustment but it can also use Ladspa effect" "plugins and the effects provided by the SoX application. It can also" "support additional file formats besides wav through libsndfile and" "mp3/ogg import and export through lame and oggenc/oggdec." ) build() { cd $startdir/src/$pkgname-$pkgver ./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc \ --without-arts --without-esound make || return 1 make install DESTDIR=$startdir/pkg # Icon mkdir -p $startdir/pkg/usr/share/icons/hicolor/48x48/apps cp $startdir/src/$pkgname.png $startdir/pkg/usr/share/icons/hicolor/48x48/apps # .desktop file mkdir -p $startdir/pkg/usr/share/applications cat <<- EOF > $startdir/pkg/usr/share/applications/$pkgname.desktop [Desktop Entry] Version=1.0 Encoding=UTF-8 Name=mhWaveEdit Name[de]=mhWaveEdit Comment=Record, play, and edit audio files in wav, ogg, and mp3 Comment[de]=Audiodateien im wav-, ogg- und mp3-Format aufnehmen, abspielen und bearbeiten Icon=mhwaveedit Exec=mhwaveedit --driver alsa Terminal=false Type=Application Categories=Application;AudioVideo; EOF }