theme-switcher-package/PKGBUILD

28 lines
799 B
Bash

# Maintainer: Your Name <youremail@domain.com>
pkgname=theme-switcher
pkgver=1.0.0
pkgrel=1
pkgdesc="Theme switcher application"
arch=(any)
url=""
license=(unknown)
depends=('yad',
'zafiro-icon-theme-git',
'skeuos-gtk')
provides=('theme-switcher')
backup=()
options=(!strip)
install='theme-switcher.install'
source=("theme-switcher"
"theme-switcher.desktop",
"theme-switcher-icons.tar.gz")
package() {
# copy icons
install -Dm644 ${srcdir}/icons/* ${pkgdir}/usr/share/theme-switcher/icons
# copy executables
install -Dm644 ${srcdir}/theme-switcher.desktop ${pkgdir}/usr/share/applications/theme-switcher.desktop
install -Dm755 ${srcdir}/theme-switcher ${pkgdir}/usr/bin/theme-switcher
}