summaryrefslogtreecommitdiff
path: root/community/kradio/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/kradio/PKGBUILD')
-rw-r--r--community/kradio/PKGBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/community/kradio/PKGBUILD b/community/kradio/PKGBUILD
new file mode 100644
index 000000000..bc04b1645
--- /dev/null
+++ b/community/kradio/PKGBUILD
@@ -0,0 +1,32 @@
+# $Id: PKGBUILD 83156 2013-01-27 16:18:52Z pierre $
+# Maintainer:
+# Contributor: Tobias Powalowski <tpowa@archlinux.org>
+
+pkgname=kradio
+pkgver=4.0.6
+pkgrel=1
+arch=('i686' 'x86_64')
+license=('GPL2')
+pkgdesc="A comfortable KDE internet and AM/FM radio application"
+url="http://kradio.sourceforge.net/"
+depends=('kdebase-runtime' 'lirc-utils' 'libmms' 'ffmpeg')
+makedepends=('automoc4' 'cmake' 'boost')
+install=$pkgname.install
+source=("http://downloads.sourceforge.net/$pkgname/kradio4-$pkgver.tar.bz2"{,.asc})
+md5sums=('ee9214156465e0416bb369f78b4a5eae'
+ 'f43706e63d24788f2278bada7b10cc6f')
+
+build() {
+ cd "$srcdir"
+ mkdir build
+ cd build
+ cmake ../${pkgname}4-$pkgver \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release
+ make
+}
+
+package() {
+ cd "$srcdir/build"
+ make DESTDIR="$pkgdir" install
+}