desktop/kradio/PKGBUILD

36 lines
857 B
Bash
Raw Normal View History

2015-03-08 23:08:15 +08:00
# Maintainer: Francesco Marinucci: <framari [at] opmbx [dot] org>
2010-10-05 04:37:43 +08:00
pkgname=kradio
2015-03-08 23:08:15 +08:00
_pkgname=kradio4
2014-09-29 07:16:56 +08:00
pkgver=4.0.8
2017-03-12 21:05:28 +08:00
pkgrel=4
2013-01-28 07:00:03 +08:00
arch=('x86_64')
2010-10-05 04:37:43 +08:00
license=('GPL2')
2012-01-08 09:02:14 +08:00
pkgdesc="KRadio is a comfortable KDE radio application."
2010-10-05 04:37:43 +08:00
url="http://kradio.sourceforge.net/"
2011-01-23 00:04:58 +08:00
depends=('lame' 'kdelibs' 'libsndfile' 'lirc-utils' 'libmms' 'ffmpeg')
2015-03-08 23:08:15 +08:00
makedepends=('pkgconfig' 'automoc4' 'cmake')
categories=('multimedia')
2012-08-22 12:12:29 +08:00
screenshot=('http://kradio.sourceforge.net/screenshots/4.0.0/docking.png')
2015-03-08 23:08:15 +08:00
source=("http://downloads.sourceforge.net/sourceforge/$pkgname/$_pkgname-$pkgver.tar.bz2")
2014-09-29 07:16:56 +08:00
md5sums=('35915b48c15a11b7a5085cee66bcaedf')
2010-10-05 04:37:43 +08:00
build() {
2015-03-08 23:08:15 +08:00
cd $_pkgname-$pkgver
2012-01-08 09:02:14 +08:00
2012-08-22 12:12:29 +08:00
mkdir -p build
cd build
2012-01-08 09:02:14 +08:00
2015-03-08 23:08:15 +08:00
cmake .. \
2012-01-08 09:02:14 +08:00
-DCMAKE_SKIP_RPATH=ON \
-DCMAKE_INSTALL_PREFIX=/usr \
2012-08-22 12:12:29 +08:00
-DCMAKE_BUILD_TYPE=Release
2012-01-08 09:02:14 +08:00
2011-01-23 00:04:58 +08:00
make
2010-10-05 04:37:43 +08:00
}
package() {
2015-03-08 23:08:15 +08:00
cd $_pkgname-$pkgver/build
make DESTDIR=$pkgdir install
2010-10-05 04:37:43 +08:00
}