mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
32 lines
847 B
Bash
32 lines
847 B
Bash
# maintainer: almack[at]chakraos[dot]org>
|
|
|
|
pkgname=kdeplasma-applets-ccr-plasmoid
|
|
_gitname=ccr-plasmoid
|
|
_gitsha=5eb4355
|
|
pkgver=0.2.2
|
|
pkgrel=4
|
|
depends=('kdebase-workspace')
|
|
makedepends=('make' 'cmake' 'automoc4')
|
|
pkgdesc="Plasmoid for handling the Chakra Community Repo"
|
|
arch=('x86_64')
|
|
license=('GPL')
|
|
categories=('accessories')
|
|
screenshot=('')
|
|
url="http://chakraos.org/"
|
|
source=("$pkgname"::"git://gitorious.org/chakra/${_gitname}.git#commit=${_gitsha}")
|
|
md5sums=('SKIP')
|
|
|
|
build() {
|
|
cd "$srcdir/$pkgname"
|
|
|
|
if [[ -e ${pkgname}-${pkgver}-build ]]; then rm -rf ${pkgname}-build; fi
|
|
mkdir ${pkgname}-${pkgver}-build
|
|
cd ${pkgname}-${pkgver}-build
|
|
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix`
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "$srcdir/$pkgname/${pkgname}-${pkgver}-build"
|
|
make DESTDIR="$pkgdir/" install
|
|
} |