diff options
author | root <root@rshg054.dnsready.net> | 2013-01-28 00:05:59 -0800 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-01-28 00:05:59 -0800 |
commit | 1b9f6dc846379470b620b5dbb9d4d7acd1de148c (patch) | |
tree | 2305b950a3c94970b05c1a38af473f5cca95af02 /community/kradio | |
parent | b9b96ada56ad38df20b1e528a095a1e86ab67a2b (diff) |
Mon Jan 28 00:05:59 PST 2013
Diffstat (limited to 'community/kradio')
-rw-r--r-- | community/kradio/PKGBUILD | 32 | ||||
-rw-r--r-- | community/kradio/kradio.install | 11 |
2 files changed, 43 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 +} diff --git a/community/kradio/kradio.install b/community/kradio/kradio.install new file mode 100644 index 000000000..460e85d7f --- /dev/null +++ b/community/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 +} |