summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libre/soundkonverter/PKGBUILD29
1 files changed, 15 insertions, 14 deletions
diff --git a/libre/soundkonverter/PKGBUILD b/libre/soundkonverter/PKGBUILD
index ae843e327..26f7168f8 100644
--- a/libre/soundkonverter/PKGBUILD
+++ b/libre/soundkonverter/PKGBUILD
@@ -1,21 +1,19 @@
-# $Id: PKGBUILD 170095 2016-04-10 14:30:48Z stativ $
+# $Id$
# Maintainer (Arch): Lukas Jirkovsky <l.jirkovsky@gmail.com>
# Contributor (Arch): Mateusz Herych <heniekk@gmail.com>
# Contributor (Arch): Eric Belanger <eric@archlinux.org>
# Contributor (Arch): Darwin Bautista <djclue917@gmail.com>
-# Maintainer: André Silva <emulatorman@hyperbola.info>
+# Contributor: André Silva <emulatorman@hyperbola.info>
pkgname=soundkonverter
-pkgver=2.2.2
-pkgrel=2.parabola1
+pkgver=3.0.1
+pkgrel=1.parabola1
pkgdesc="Front-end to various audio converters, without nonfree faac and mac recommendation"
-arch=('i686' 'x86_64' 'armv7h')
+arch=('x86_64' 'i686' 'armv7h')
url="http://www.kde-apps.org/content/show.php?content=29024"
license=('GPL')
-replaces=("${pkgname}-libre" "${pkgname}-parabola")
-conflicts=("${pkgname}-libre" "${pkgname}-parabola")
-depends=('kdebase-runtime' 'libkcddb4' 'cdparanoia' 'taglib')
-makedepends=('automoc4' 'cmake')
+depends=('hicolor-icon-theme' 'kdelibs4support' 'libkcddb' 'taglib')
+makedepends=('cmake' 'extra-cmake-modules' 'kdesignerplugin' 'kdoctools')
optdepends=('cdrkit: cdda2wav backend'
'faad2: faad backend'
'ffmpeg: ffmpeg backend'
@@ -32,18 +30,21 @@ optdepends=('cdrkit: cdda2wav backend'
'vorbis-tools: vorbis tools backend'
'wavpack: wavpack backend'
'sox: sox plugin (change sample rate, various effects)')
-source=("https://dl.opendesktop.org/api/files/download/id/1466626972/29024-soundkonverter-$pkgver.tar.gz")
-md5sums=('37bf882550760940050f6cdc9779adbf')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/dfaust/soundkonverter/archive/v${pkgver}.tar.gz")
+sha256sums=('92117f8aff85aac3a336cc0c94f3739aaa2d07ddd741d737dfd4b1571c60a0ce')
build() {
- cd "$srcdir"/$pkgname-$pkgver
- cmake . \
+ mkdir -p "$srcdir/build"
+ cd "$srcdir/build"
+
+ cmake "$srcdir/$pkgname-$pkgver/src" \
-DCMAKE_INSTALL_PREFIX=/usr \
+ -DLIB_INSTALL_DIR=lib \
-DCMAKE_BUILD_TYPE=Release
make
}
package() {
- cd "$srcdir"/$pkgname-$pkgver
+ cd "$srcdir/build"
make DESTDIR="$pkgdir" install
}