summaryrefslogtreecommitdiff
path: root/testing/kradio
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-07-08 00:04:04 +0000
committerroot <root@rshg054.dnsready.net>2012-07-08 00:04:04 +0000
commita522a5f63f3b5726081698bf742801fb1d242817 (patch)
treeee7d4e7261e7387e755d2a08389250575a4e2552 /testing/kradio
parentd0fe8a4769150cf26265e3457c234c45c53e693b (diff)
Sun Jul 8 00:04:04 UTC 2012
Diffstat (limited to 'testing/kradio')
-rw-r--r--testing/kradio/PKGBUILD32
-rw-r--r--testing/kradio/kradio.install11
2 files changed, 43 insertions, 0 deletions
diff --git a/testing/kradio/PKGBUILD b/testing/kradio/PKGBUILD
new file mode 100644
index 000000000..e06525a04
--- /dev/null
+++ b/testing/kradio/PKGBUILD
@@ -0,0 +1,32 @@
+# $Id: PKGBUILD 163060 2012-07-06 15:21:36Z ibiru $
+# Maintainer:
+# Contributor: Tobias Powalowski <tpowa@archlinux.org>
+
+pkgname=kradio
+pkgver=4.0.4
+pkgrel=2
+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')
+install=$pkgname.install
+source=("http://downloads.sourceforge.net/$pkgname/kradio4-$pkgver.tar.bz2"{,.asc})
+md5sums=('4b5495a4f1dda21f7201bc8db0d4f95e'
+ '51c6d4ec0047d2df595b458bde285012')
+
+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
+}
diff --git a/testing/kradio/kradio.install b/testing/kradio/kradio.install
new file mode 100644
index 000000000..460e85d7f
--- /dev/null
+++ b/testing/kradio/kradio.install
@@ -0,0 +1,11 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor 2> /dev/null
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}