summaryrefslogtreecommitdiff
path: root/community/soundkonverter
diff options
context:
space:
mode:
Diffstat (limited to 'community/soundkonverter')
-rw-r--r--community/soundkonverter/PKGBUILD41
-rw-r--r--community/soundkonverter/soundkonverter.install12
2 files changed, 53 insertions, 0 deletions
diff --git a/community/soundkonverter/PKGBUILD b/community/soundkonverter/PKGBUILD
new file mode 100644
index 000000000..9c57ef810
--- /dev/null
+++ b/community/soundkonverter/PKGBUILD
@@ -0,0 +1,41 @@
+# $Id: PKGBUILD 35231 2010-12-17 20:25:58Z mherych $
+# Maintainer: Eric Belanger <eric@archlinux.org>
+# Maintainer: Mateusz Herych <heniekk@gmail.com>
+# Contributor: Darwin Bautista <djclue917@gmail.com>
+
+pkgname=soundkonverter
+pkgver=0.9.94rc2
+pkgrel=1
+pkgdesc="Front-end to various audio converters"
+arch=('i686' 'x86_64')
+url="http://www.kde-apps.org/content/show.php?content=29024"
+license=('GPL')
+depends=('kdemultimedia-kioslave' 'taglib')
+makedepends=('automoc4' 'cmake')
+optdepends=('cdrkit: cdda2wav backend'
+ 'faac: faac backend'
+ 'faad2: faad backend'
+ 'ffmpeg: ffmpeg backend'
+ 'flac: flac backend'
+ 'lame: lame backend'
+ 'mplayer: mplayer backend'
+ 'vorbis-tools: oggenc, oggdec backends'
+ 'speex: speexenc, speexdec backends'
+ 'vorbisgain: vorbisgain backend'
+ )
+options=('libtool')
+install=$pkgname.install
+source=(https://api.opensuse.org/public/source/home:HessiJames/soundkonverter/soundkonverter-$pkgver.tar.gz)
+md5sums=('5cc2442b26282f18ce51379dc4429f32')
+
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
+ cmake . -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd $srcdir/$pkgname-$pkgver
+ make DESTDIR=$pkgdir install
+}
diff --git a/community/soundkonverter/soundkonverter.install b/community/soundkonverter/soundkonverter.install
new file mode 100644
index 000000000..725fc0c5d
--- /dev/null
+++ b/community/soundkonverter/soundkonverter.install
@@ -0,0 +1,12 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
+