desktop/kradio/PKGBUILD

40 lines
933 B
Bash
Raw Normal View History

2010-10-05 04:37:43 +08:00
#
2012-02-22 08:44:57 +08:00
# Apps Packages for Chakra, part of chakra-project.org
2010-10-05 04:37:43 +08:00
#
2012-08-22 12:12:29 +08:00
# maintainer abveritas[at]chakra-project[dot]org>
2010-10-05 04:37:43 +08:00
2012-01-08 09:02:14 +08:00
_pkgname=kradio4
2010-10-05 04:37:43 +08:00
pkgname=kradio
2013-01-28 07:00:03 +08:00
pkgver=4.0.7
pkgrel=1
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')
makedepends=('pkgconfig' 'automoc4')
options=(!libtool)
categories=('multimedia')
2012-08-22 12:12:29 +08:00
screenshot=('http://kradio.sourceforge.net/screenshots/4.0.0/docking.png')
2012-01-08 09:02:14 +08:00
source=("http://downloads.sourceforge.net/sourceforge/${pkgname}/${_pkgname}-${pkgver}.tar.bz2")
2013-01-28 07:00:03 +08:00
md5sums=('75eb51fdd55f0557969febb2c1f82b1c')
2010-10-05 04:37:43 +08:00
build() {
2012-01-08 09:02:14 +08:00
cd "${srcdir}"
2012-08-22 12:12:29 +08:00
mkdir -p build
cd build
2012-01-08 09:02:14 +08:00
cmake "../${_pkgname}-${pkgver}" \
-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() {
2012-01-08 09:02:14 +08:00
cd "${srcdir}/build"
make DESTDIR="${pkgdir}" install
2010-10-05 04:37:43 +08:00
}