# Contributor: k0r10n <k0r10n.dev@gmail.com> # Maintainer: setvar pkgname = 'kmix' setvar pkgver = '4.13.3' setvar pkgrel = '0' setvar pkgdesc = ""Mixer for KDE"" setvar url = ""http://kde.org/applications/multimedia/kmix/"" setvar arch = ""all"" setvar license = ""GPL"" setvar depends = """" setvar depends_dev = ""kdelibs-dev libcanberra-dev"" setvar makedepends = ""$depends_dev cmake automoc4"" setvar install = """" setvar subpackages = ""$pkgname-doc"" setvar source = ""http://download.kde.org/stable/${pkgver}/src/${pkgname}-${pkgver}.tar.xz"" setvar _builddir = ""$srcdir"/${pkgname}-${pkgver}" proc prepare { local i cd $_builddir for i in $source { case (i) { *.patch { msg $i; patch -p1 -i "$srcdir"/$i || return 1} } } mkdir "$_builddir"/build || return 1 } proc build { cd "$_builddir"/build cmake -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release \ -DKDE4_BUILD_TESTS=OFF \ -Wno-dev \ $_builddir || return 1 make || return 1 } proc package { cd "$_builddir"/build make DESTDIR="$pkgdir" install || return 1 } setvar md5sums = ""9df8965b7a514a679863a5a7917e40ec kmix-4.13.3.tar.xz"" setvar sha256sums = ""38dfca73cc303e9448eea046f20e04e59ae97e1d7f8b71b41f9f049b1dee232f kmix-4.13.3.tar.xz"" setvar sha512sums = ""3e19853f8cf6c95bb33aa5b572b212fbbc3d19a4f66376ffafc653d452dd8934d34253e986a28f5608d3a85477652df18c72a524c2565a38ce1fc69b0fff2a7d kmix-4.13.3.tar.xz""