Commit fabb4ed0 authored by Bernhard Landauer's avatar Bernhard Landauer

add

parents
# Maintainer: Ramon Buldó <ramon@manjaro.org>
pkgbase=artwork-breath
pkgname=('breath-icon-theme' 'breath-dark-icon-theme' 'plasma5-themes-breath' 'sddm-breath-theme' 'breath-wallpaper')
pkgver=0.3.1
pkgrel=1
_gitcommit=a8bb4c6f3a55ad685d09987b14daa51f5bf22a98
url=https://github.com/manjaro/artwork-breath/
arch=('any')
license=('LGPL')
makedepends=('extra-cmake-modules' 'plasma-framework')
source=("breath-$pkgver-$pkgrel.tar.gz::$url/archive/$_gitcommit.tar.gz")
md5sums=('07ad2e5cb70bc9eb3d6825cf1156eacd')
prepare() {
mv $srcdir/artwork-breath-$_gitcommit $srcdir/breath
mkdir -p build
}
build() {
cd build
cmake ../breath \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON
make
}
package_breath-wallpaper() {
pkgdesc='breath wallpaper'
install -Dm644 ${srcdir}/breath/wallpapers/Breath/contents/images/1920x1080.png ${pkgdir}/usr/share/backgrounds/breath.png
}
package_breath-icon-theme() {
pkgdesc='breath icon theme'
cd build
make DESTDIR="${pkgdir}" install
rm -rf "${pkgdir}/usr/share/color-schemes"
rm -rf "${pkgdir}/usr/share/icons/breath-dark"
rm -rf "${pkgdir}/usr/share/kservices5"
rm -rf "${pkgdir}/usr/share/metainfo"
rm -rf "${pkgdir}/usr/share/plasma"
rm -rf "${pkgdir}/usr/share/sddm"
rm -rf "${pkgdir}/usr/share/wallpapers"
}
package_breath-dark-icon-theme() {
pkgdesc='breath dark icon theme'
cd build
make DESTDIR="${pkgdir}" install
rm -rf "${pkgdir}/usr/share/color-schemes"
rm -rf "${pkgdir}/usr/share/icons/breath"
rm -rf "${pkgdir}/usr/share/kservices5"
rm -rf "${pkgdir}/usr/share/metainfo"
rm -rf "${pkgdir}/usr/share/plasma"
rm -rf "${pkgdir}/usr/share/sddm"
rm -rf "${pkgdir}/usr/share/wallpapers"
}
package_plasma5-themes-breath() {
pkgdesc='breath theme for KDE Plasma 5'
depends=('breeze')
optdepends=('breath-icon-theme: light icon theme'
'breath-dark-icon-theme: dark icon theme')
replaces=('breath-themes')
cd build
make DESTDIR="${pkgdir}" install
rm -rf "${pkgdir}/usr/share/sddm"
rm -rf "${pkgdir}/usr/share/icons"
}
package_sddm-breath-theme() {
pkgdesc="breath theme for SDDM"
depends=('plasma-framework' 'plasma-workspace')
cd build
make DESTDIR="${pkgdir}" install
rm -rf "${pkgdir}/usr/share/color-schemes"
rm -rf "${pkgdir}/usr/share/icons"
rm -rf "${pkgdir}/usr/share/kservices5"
rm -rf "${pkgdir}/usr/share/metainfo"
rm -rf "${pkgdir}/usr/share/plasma"
rm -rf "${pkgdir}/usr/share/wallpapers"
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment