# Maintainer: TROM <contact@tromsite.com>
pkgname=tromjaro-theme-switcher
pkgver=1.4
pkgrel=3
pkgdesc="TROMjaro Theme switcher application"
arch=(any)
url=""
license=(unknown)
depends=('yad'
         'colloid-gtk-theme-git'
         'zafiro-icon-theme')
provides=('tromjaro-theme-switcher')
backup=()
options=(!strip)
source=("theme-switcher"
        "tromjaro-theme-switcher.desktop"
        "tromjaro-theme-switcher.svg"
        "https://www.drive.tromsite.com/s/zFtCp3SkZ4NpKix/download")
sha256sums=('SKIP'
'SKIP'
'SKIP'
'SKIP')
package() {
    # copy icons
    install -d ${pkgdir}/usr/share/tromjaro-theme-switcher/icons
    install -Dm644 ${srcdir}/icons/*                            ${pkgdir}/usr/share/tromjaro-theme-switcher/icons

    # copy executables
    install -Dm644  ${srcdir}/tromjaro-theme-switcher.desktop            ${pkgdir}/usr/share/applications/tromjaro-theme-switcher.desktop
	install -Dm755  ${srcdir}/theme-switcher                    ${pkgdir}/usr/bin/tromjaro-theme-switcher
   
   # copy the icon
    install -d ${pkgdir}/usr/share/icons/hicolor/scalable/apps
    install -Dm644 ${srcdir}/tromjaro-theme-switcher.svg                            ${pkgdir}/usr/share/icons/hicolor/scalable/apps

}