summaryrefslogtreecommitdiff
path: root/testing/kradio/PKGBUILD
blob: b73b80c906523d72e65fbde0e7b22baaaf200ff3 (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
# $Id: PKGBUILD 142149 2011-11-05 11:37:56Z ibiru $
# Maintainer : Tobias Powalowski <tpowa@archlinux.org>

pkgname=kradio
pkgver=4.0.2
pkgrel=2
arch=('i686' 'x86_64')
license=('GPL2')
pkgdesc="A comfortable KDE radio application"
url="http://kradio.sourceforge.net/"
depends=('kdebase-runtime' 'lirc-utils' 'libmms' 'ffmpeg')
makedepends=('pkg-config' 'automoc4' 'cmake')
install=kradio.install
source=(http://downloads.sourceforge.net/sourceforge/kradio/kradio4-$pkgver.tar.bz2{,.asc} kradio-ffmpeg.diff)
options=(!libtool)

build() {
  cd "$srcdir"
  (cd ${pkgname}4-$pkgver ; patch -p1 -i "$srcdir/kradio-ffmpeg.diff")
  mkdir build
  cd build
  cmake ../${pkgname}4-$pkgver -DCMAKE_SKIP_RPATH=ON -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release
  make
}

package() {
  cd "$srcdir/build"
  make DESTDIR="$pkgdir" install
}
md5sums=('18fea3e2bc7100882075187c6a89f7bd'
         '5f407eb75536f39e79c77a70613e8704'
         '7d31a4f54602bc109f39cc0a7a1dc50c')