theme-switcher-package/PKGBUILD

37 lines
1.2 KiB
Bash
Raw Normal View History

2022-09-14 15:17:28 +00:00
# Maintainer: TROM <contact@tromsite.com>
pkgname=tromjaro-theme-switcher
2022-09-20 01:45:50 +00:00
pkgver=1.1.0
2022-09-14 14:28:51 +00:00
pkgrel=1
2022-09-14 15:17:28 +00:00
pkgdesc="TROMjaro Theme switcher application"
2022-09-14 14:28:51 +00:00
arch=(any)
url=""
license=(unknown)
2022-09-07 03:27:45 +00:00
depends=('yad'
'zafiro-icon-theme'
2022-09-14 14:28:51 +00:00
'skeuos-gtk')
2022-09-14 15:17:28 +00:00
provides=('tromjaro-theme-switcher')
2022-09-14 14:28:51 +00:00
backup=()
options=(!strip)
source=("theme-switcher"
2022-09-20 01:51:27 +00:00
"tromjaro-theme-switcher.desktop"
2022-09-20 01:46:46 +00:00
"tromjaro-theme-switcher.svg"
2022-09-14 22:53:27 +00:00
"https://www.drive.tromsite.com/s/zFtCp3SkZ4NpKix/download")
2022-09-07 03:27:45 +00:00
sha256sums=('SKIP'
'SKIP'
2022-09-20 01:46:46 +00:00
'SKIP'
2022-09-07 03:27:45 +00:00
'SKIP')
2022-09-14 14:28:51 +00:00
package() {
# copy icons
2022-09-14 15:17:28 +00:00
install -d ${pkgdir}/usr/share/tromjaro-theme-switcher/icons
install -Dm644 ${srcdir}/icons/* ${pkgdir}/usr/share/tromjaro-theme-switcher/icons
2022-09-14 14:28:51 +00:00
# copy executables
2022-09-20 01:54:07 +00:00
install -Dm644 ${srcdir}/tromjaro-theme-switcher.desktop ${pkgdir}/usr/share/applications/tromjaro-theme-switcher.desktop
2022-09-14 15:17:28 +00:00
install -Dm755 ${srcdir}/theme-switcher ${pkgdir}/usr/bin/tromjaro-theme-switcher
2022-09-20 01:45:50 +00:00
# copy the icon
install -d ${pkgdir}/usr/share/icons/hicolor/scalable/apps
2022-09-20 01:54:07 +00:00
install -Dm644 ${srcdir}/tromjaro-theme-switcher.svg ${pkgdir}/usr/share/icons/hicolor/scalable/apps
2022-09-20 01:45:50 +00:00
2022-09-14 14:28:51 +00:00
}