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
2023-08-02 01:31:13 +00:00
pkgver=1.3
2023-08-08 03:02:20 +00:00
pkgrel=7
2022-09-07 03:40:56 +00:00
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-git'
'vala-panel-appmenu-common-git'
2022-09-07 03:40:56 +00:00
'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-21 22:37:19 +00:00
# copy icon
2022-09-20 01:39:40 +00:00
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
}