theme-switcher-package/PKGBUILD

35 lines
1.1 KiB
Bash

# Maintainer: TROM <contact@tromsite.com>
pkgname=tromjaro-theme-switcher
pkgver=1.1.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"
"theme-switcher.desktop"
"https://www.drive.tromsite.com/s/zFtCp3SkZ4NpKix/download")
sha256sums=('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}/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-switch.svg ${pkgdir}/usr/share/icons/hicolor/scalable/apps
}