summaryrefslogtreecommitdiff
path: root/extra/kradio/PKGBUILD
blob: 8ecfc6e9e9a715d0dd9eab01bd00ae2c77ff00a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# $Id: PKGBUILD 150790 2012-02-22 11:29:59Z andrea $
# Maintainer:
# Contributor: Tobias Powalowski <tpowa@archlinux.org>

pkgname=kradio
pkgver=4.0.4
pkgrel=1
arch=('i686' 'x86_64' 'mips64el')
license=('GPL2')
pkgdesc="A comfortable KDE internet and AM/FM radio application"
url="http://kradio.sourceforge.net/"
depends=('kdebase-runtime' 'libmms' 'ffmpeg')
[ "$CARCH" != "mips64el" ] && depends+=('lirc-utils')
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
}