mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-25 02:52:13 +08:00
38 lines
958 B
Bash
38 lines
958 B
Bash
#
|
|
# Chakra Packages for Chakra, part of chakraos.org
|
|
#
|
|
# 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>
|
|
|
|
pkgname=kstreamripper
|
|
pkgver=0.7.100
|
|
pkgrel=2
|
|
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')
|
|
source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2")
|
|
md5sums=('cd4cc34620c7b6c373aea60c3d34dc8c')
|
|
|
|
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
|
|
}
|