summaryrefslogtreecommitdiff
path: root/community/kradio/PKGBUILD
blob: 66a5f20dc4d8675d1807ec6ebcece361c4fec0c6 (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
34
35
36
# $Id: PKGBUILD 83293 2013-01-28 23:02:36Z arodseth $
# Maintainer: Alexander Rødseth <rodseth@gmail.com>
# Contributor: Tobias Powalowski <tpowa@archlinux.org>

pkgname=kradio
pkgver=4.0.7
pkgrel=1
arch=('x86_64' 'i686')
license=('GPL2')
pkgdesc='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})
sha256sums=('53d1a706f08cfd5a405142cf34cf9c0b03397b03961936651dfae7206003959c'
            'cc6e801e10dbb7971cd09f2083d9fad0dc20ffc59ce3301486a985b8718d0c97')

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
}

# vim:set ts=2 sw=2 et: