desktop/chakra-heritage-themes/PKGBUILD

36 lines
793 B
Bash

pkgname=chakra-heritage-themes
pkgver=2018.11
pkgrel=4
pkgdesc='Chakra Plasma 5 Look & Feel theme files'
url='https://www.chakralinux.org'
arch=('x86_64')
license=('LGPL')
# remember to set the wallpaper name and resolution!! in plasma/heritage/metadata.desktop
depends=('plasma-framework' 'chakra-wallpapers-giau')
makedepends=('extra-cmake-modules')
_gitsha='2b00caded2893057d70f349a245422c705ceca89'
source=("git+https://code.chakralinux.org/chakra/tools/heritage.git#commit=${_gitsha}")
sha256sums=('SKIP')
prepare() {
mkdir -p build
cd $srcdir/heritage
}
build() {
cd build
cmake ../heritage \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON
make
}
package() {
cd build
make DESTDIR=${pkgdir} install
}