mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 10:32:13 +08:00
40 lines
1.0 KiB
Bash
40 lines
1.0 KiB
Bash
#
|
|
# Chakra Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer: abveritas[at]chakra-project[dot]org>
|
|
|
|
pkgname=kdeplasma-applets-welcome-plasmoid
|
|
pkgver=0.4.0
|
|
pkgrel=1
|
|
depends=('kdebase-workspace')
|
|
makedepends=('make' 'cmake' 'automoc4')
|
|
pkgdesc="Chakra's Welcome plasmoid, for live ISO info sharing"
|
|
arch=("i686" "x86_64")
|
|
license=('GPL')
|
|
categories=('accessories')
|
|
#install=$pkgname.install
|
|
url="http://chakra-project.org/"
|
|
|
|
source=("http://chakra-linux.org/sources/welcome-plasmoid/welcome-plasmoid-$pkgver.tar.xz")
|
|
md5sums=('2adbb30784002d147a4a9da6927307ec')
|
|
|
|
# create tarball: source PKGBUILD && mksource
|
|
|
|
mksource() {
|
|
git clone git://gitorious.org//chakra/welcome-plasmoid.git
|
|
pushd welcome-plasmoid
|
|
popd
|
|
tar -cvJf welcome-plasmoid-${pkgver}.tar.xz welcome-plasmoid/*
|
|
md5sum welcome-plasmoid-${pkgver}.tar.xz
|
|
}
|
|
|
|
build() {
|
|
cd "${srcdir}/welcome-plasmoid"
|
|
|
|
cmake \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_BUILD_TYPE=Release
|
|
make
|
|
make DESTDIR=${pkgdir} install
|
|
}
|