This repository has been archived on 2024-11-03. You can view files and clone it, but cannot push or open issues or pull requests.
evolution-packages/srcpkgs/evolution-theme-switcher/template

27 lines
807 B
Bash

#!/bin/sh
pkgname=evolution-theme-switcher
version=1.0
revision=6
short_desc="Just a theme switcher for evolution-desktop"
maintainer="Tracker-Friendly <jliwin98@danwin1210.de>"
homepage="https://centrifuge.hectabit.org/HectaBit/dconf-theme-switcher"
license="GPL-3.0"
makedepends="make gcc git pkg-config gtk+3-devel dconf"
depends="gtk+3 dconf"
do_build() {
echo "Building..."
cd ${XBPS_BUILDDIR}
rm -rf gtkgreet
git clone https://centrifuge.hectabit.org/HectaBit/dconf-theme-switcher
cd dconf-theme-switcher
make
}
do_install() {
echo "Installing..."
vbin ${XBPS_BUILDDIR}/dconf-theme-switcher/themeswitcher
mkdir -p ${DESTDIR}/usr/share/applications
cp ${XBPS_BUILDDIR}/dconf-theme-switcher/evolution-theme-switcher.desktop ${DESTDIR}/usr/share/applications/
}