49 lines
1.7 KiB
Bash
Raw Normal View History

2022-09-07 05:40:56 +02:00
# Maintainer: TROM <contact@tromsite.com>
pkgname=tromjaro-layout-switcher
2022-09-20 03:28:21 +02:00
pkgver=1.2.1
2022-09-07 05:40:56 +02:00
pkgrel=1
pkgdesc="TROMjaro Layout switcher application"
arch=(any)
url=""
license=(unknown)
depends=('yad'
2022-09-17 12:49:45 +02:00
'zensu'
2022-09-07 05:40:56 +02: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 05:40:56 +02:00
provides=('tromjaro-layout-switcher')
backup=()
options=(!strip)
source=("layout-switcher"
2022-09-15 01:28:55 +02:00
"tromjaro-layout-switcher.desktop"
2022-09-20 03:47:50 +02:00
"tromjaro-layout-switcher.svg"
2022-09-15 01:28:55 +02:00
"icons.zip::https://www.drive.tromsite.com/s/SWmAcokLcxLB3gM/download"
"profiles.zip::https://www.drive.tromsite.com/s/6dHoNjar9wJzeLd/download")
2022-09-07 05:40:56 +02:00
sha256sums=('SKIP'
'SKIP'
'SKIP'
2022-09-20 03:23:13 +02:00
'SKIP'
2022-09-07 05:40:56 +02: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-15 01:30:19 +02:00
install -Dm755 ${srcdir}/layout-switcher ${pkgdir}/usr/bin/tromjaro-layout-switcher
2022-09-20 03:23:13 +02:00
2022-09-22 00:37:19 +02:00
# copy icon
2022-09-20 03:39:40 +02:00
install -d ${pkgdir}/usr/share/icons/hicolor/scalable/apps
2022-09-20 03:47:50 +02:00
install -Dm644 ${srcdir}/tromjaro-layout-switcher.svg ${pkgdir}/usr/share/icons/hicolor/scalable/apps
2022-09-20 03:39:40 +02:00
2022-09-07 05:40:56 +02:00
}