summaryrefslogtreecommitdiff
path: root/community/audex
diff options
context:
space:
mode:
Diffstat (limited to 'community/audex')
-rw-r--r--community/audex/PKGBUILD38
-rw-r--r--community/audex/audex.install11
2 files changed, 49 insertions, 0 deletions
diff --git a/community/audex/PKGBUILD b/community/audex/PKGBUILD
new file mode 100644
index 000000000..521c7fd0e
--- /dev/null
+++ b/community/audex/PKGBUILD
@@ -0,0 +1,38 @@
+# $Id: PKGBUILD 37808 2011-01-17 23:22:59Z lcarlier $
+# Maintainer: Andrea Scarpino <andrea@archlinux.org>
+# Contributor: mightyjaym <jmambrosino@gmail.com>
+# Contributor: moostik <mooostik_at_gmail.com>
+
+pkgname=audex
+pkgver=0.74b1
+pkgrel=1
+pkgdesc="A CDDA extraction tool with a ftp upload function for KDE"
+arch=('i686' 'x86_64')
+url="http://kde.maniatek.com/audex/"
+license=('GPL')
+depends=('kdemultimedia-kioslave' 'cdparanoia')
+makedepends=('cmake' 'automoc4')
+optdepends=('vorbis-tools: OGG encoder'
+ 'faac: MP4/M4A/AAC encoder'
+ 'flac: FLAC encoder'
+ 'lame: MP3 encoder')
+install=${pkgname}.install
+source=("http://kde.maniatek.com/audex/files/${pkgname}-${pkgver}.tar.xz")
+md5sums=('20fdf9a0f89c08f44a151b6bdaab8782')
+
+build() {
+ cd ${srcdir}
+ mkdir build
+ cd build
+
+ cmake ../${pkgname}-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd ${srcdir}/build
+
+ make DESTDIR=${pkgdir} install
+}
diff --git a/community/audex/audex.install b/community/audex/audex.install
new file mode 100644
index 000000000..e70c054ec
--- /dev/null
+++ b/community/audex/audex.install
@@ -0,0 +1,11 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}