diff options
Diffstat (limited to 'unmaintained/kmix/APKBUILD')
-rw-r--r-- | unmaintained/kmix/APKBUILD | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/unmaintained/kmix/APKBUILD b/unmaintained/kmix/APKBUILD new file mode 100644 index 0000000000..a725c643c9 --- /dev/null +++ b/unmaintained/kmix/APKBUILD @@ -0,0 +1,46 @@ +# Contributor: k0r10n <k0r10n.dev@gmail.com> +# Maintainer: +pkgname=kmix +pkgver=4.13.3 +pkgrel=0 +pkgdesc="Mixer for KDE" +url="http://kde.org/applications/multimedia/kmix/" +arch="all" +license="GPL" +depends="" +depends_dev="kdelibs-dev libcanberra-dev" +makedepends="$depends_dev cmake automoc4" +install="" +subpackages="$pkgname-doc" +source="http://download.kde.org/stable/${pkgver}/src/${pkgname}-${pkgver}.tar.xz" + +_builddir="$srcdir"/${pkgname}-${pkgver} +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done + mkdir "$_builddir"/build || return 1 +} + +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 +} + +package() { + cd "$_builddir"/build + make DESTDIR="$pkgdir" install || return 1 +} + +md5sums="9df8965b7a514a679863a5a7917e40ec kmix-4.13.3.tar.xz" +sha256sums="38dfca73cc303e9448eea046f20e04e59ae97e1d7f8b71b41f9f049b1dee232f kmix-4.13.3.tar.xz" +sha512sums="3e19853f8cf6c95bb33aa5b572b212fbbc3d19a4f66376ffafc653d452dd8934d34253e986a28f5608d3a85477652df18c72a524c2565a38ce1fc69b0fff2a7d kmix-4.13.3.tar.xz" |