desktop/chakra-heritage-themes/PKGBUILD
2018-02-24 23:04:14 +01:00

36 lines
787 B
Bash

pkgname=chakra-heritage-themes
pkgver=2018.02
pkgrel=2
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-tulip')
makedepends=('extra-cmake-modules')
_gitsha='d8ce122c43e3f8109bcefbf9840bbca335840a4f'
source=("git+https://code.chakralinux.org/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
}