summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD84
1 files changed, 84 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..75c89f73453
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,84 @@
+# 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.2.0
+pkgrel=3
+_gitcommit=e5fe022165df820179fd621ad1e0680906cb4122
+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=('50bcbcbc56e8ec36ac1fa9550af2fd57')
+
+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 -D ${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"
+}