desktop/kstreamripper/PKGBUILD

38 lines
958 B
Bash
Raw Normal View History

2010-07-20 07:03:32 +08:00
#
# Chakra Packages for Chakra, part of chakraos.org
2010-07-20 07:03:32 +08:00
#
# Maintainer: Jeff Huang <s8321414[at]gmail[dot]com>
# Contributer: Phil Miller <philm[at]chakra-project[dot]org>
# Contributer: Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
2010-07-20 07:03:32 +08:00
pkgname=kstreamripper
2012-01-05 22:03:55 +08:00
pkgver=0.7.100
pkgrel=2
2010-07-20 07:03:32 +08:00
pkgdesc='A program for recording Internet radios and other streams.'
arch=('i686' 'x86_64')
license=('GPL')
url='http://www.kde-apps.org/content/show.php?content=78068'
depends=('kdelibs' 'streamripper' 'libproxy')
makedepends=('cmake' 'automoc4')
categories=('network' 'multimedia')
2010-07-20 07:03:32 +08:00
source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2")
2012-01-05 22:03:55 +08:00
md5sums=('cd4cc34620c7b6c373aea60c3d34dc8c')
2010-07-20 07:03:32 +08:00
build() {
mkdir build
cd build
cmake ../$pkgname \
-DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` \
-DCMAKE_BUILD_TYPE=Release \
|| return 1
make || return 1
}
package() {
cd "$srcdir/build"
make DESTDIR="$pkgdir" install || return 1
2012-01-05 22:03:55 +08:00
}