theme-switcher-package/PKGBUILD
2022-10-21 01:28:24 +02:00

37 lines
1.2 KiB
Bash

# Maintainer: TROM <contact@tromsite.com>
pkgname=tromjaro-theme-switcher
pkgver=1.2.0
pkgrel=1
pkgdesc="TROMjaro Theme switcher application"
arch=(any)
url=""
license=(unknown)
depends=('yad'
'zafiro-icon-theme'
'skeuos-gtk')
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
}