layout-switcher-package/PKGBUILD

49 lines
1.7 KiB
Bash
Raw Normal View History

2022-09-07 03:40:56 +00:00
# Maintainer: TROM <contact@tromsite.com>
pkgname=tromjaro-layout-switcher
2022-09-20 01:28:21 +00:00
pkgver=1.2.1
2022-09-07 03:40:56 +00:00
pkgrel=1
pkgdesc="TROMjaro Layout switcher application"
arch=(any)
url=""
license=(unknown)
depends=('yad'
2022-09-17 10:49:45 +00:00
'zensu'
2022-09-07 03:40:56 +00:00
'xfce4-panel-profiles'
'vala-panel-appmenu-xfce'
'vala-panel-appmenu-common'
'libdbusmenu-gtk2'
'appmenu-gtk-module')
optdepends=('vala-panel-appmenu-registrar')
2022-09-07 03:40:56 +00:00
provides=('tromjaro-layout-switcher')
backup=()
options=(!strip)
source=("layout-switcher"
2022-09-14 23:28:55 +00:00
"tromjaro-layout-switcher.desktop"
2022-09-20 01:47:50 +00:00
"tromjaro-layout-switcher.svg"
2022-09-14 23:28:55 +00:00
"icons.zip::https://www.drive.tromsite.com/s/SWmAcokLcxLB3gM/download"
"profiles.zip::https://www.drive.tromsite.com/s/6dHoNjar9wJzeLd/download")
2022-09-07 03:40:56 +00:00
sha256sums=('SKIP'
'SKIP'
'SKIP'
2022-09-20 01:23:13 +00:00
'SKIP'
2022-09-07 03:40:56 +00:00
'SKIP')
package() {
# copy icons
install -d ${pkgdir}/usr/share/tromjaro-layout-switcher/icons
install -Dm644 ${srcdir}/icons/* ${pkgdir}/usr/share/tromjaro-layout-switcher/icons
# copy profiles
install -d ${pkgdir}/usr/share/tromjaro-layout-switcher/profiles
install -Dm644 ${srcdir}/profiles/* ${pkgdir}/usr/share/tromjaro-layout-switcher/profiles
# copy executables
install -Dm644 ${srcdir}/tromjaro-layout-switcher.desktop ${pkgdir}/usr/share/applications/tromjaro-layout-switcher.desktop
2022-09-14 23:30:19 +00:00
install -Dm755 ${srcdir}/layout-switcher ${pkgdir}/usr/bin/tromjaro-layout-switcher
2022-09-20 01:23:13 +00:00
2022-09-20 01:39:40 +00:00
# copy icons
install -d ${pkgdir}/usr/share/icons/hicolor/scalable/apps
2022-09-20 01:47:50 +00:00
install -Dm644 ${srcdir}/tromjaro-layout-switcher.svg ${pkgdir}/usr/share/icons/hicolor/scalable/apps
2022-09-20 01:39:40 +00:00
2022-09-07 03:40:56 +00:00
}