mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-04 02:57:15 +08:00
import of pw-wallpapers
This commit is contained in:
parent
391b4c76bf
commit
88efc0e6aa
39
plasma-workspace-wallpapers/PKGBUILD
Normal file
39
plasma-workspace-wallpapers/PKGBUILD
Normal file
@ -0,0 +1,39 @@
|
||||
source ../plasma.conf
|
||||
|
||||
pkgname=plasma-workspace-wallpapers
|
||||
pkgver=${PVersion}
|
||||
pkgrel=1
|
||||
pkgdesc="Plasma Desktop"
|
||||
arch=('i686' 'x86_64')
|
||||
url='http://projects.kde.org'
|
||||
license=('LGPL')
|
||||
depends=('plasma-workspace')
|
||||
makedepends=('extra-cmake-modules')
|
||||
checkdepends=("cmake")
|
||||
groups=('plasma')
|
||||
options=("debug")
|
||||
source=("${PServer}/${pkgver}/${pkgname}-${pkgver}.tar.xz")
|
||||
sha256sums=( $(getSum ${pkgname}) )
|
||||
|
||||
prepare() {
|
||||
mkdir -p build
|
||||
}
|
||||
|
||||
build() {
|
||||
cd build
|
||||
cmake ../${pkgname}-${pkgver} \
|
||||
-DCMAKE_BUILD_TYPE=${PBuildType} \
|
||||
-DCMAKE_INSTALL_PREFIX=${PInstallPrefix} \
|
||||
-DLIB_INSTALL_DIR=lib
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
cd build
|
||||
make test || return 0
|
||||
}
|
||||
|
||||
package() {
|
||||
cd build
|
||||
make DESTDIR="${pkgdir}" install
|
||||
}
|
Loading…
Reference in New Issue
Block a user