fixes-package/PKGBUILD

59 lines
2.0 KiB
Bash
Raw Permalink Normal View History

2022-09-15 23:14:20 +00:00
# Maintainer: TROM <contact@tromsite.com>
pkgname=tromjaro-fixes
2023-08-03 15:06:26 +00:00
pkgver=1.6
2023-08-03 21:11:35 +00:00
pkgrel=1
2022-09-15 23:14:20 +00:00
pkgdesc="Various fixes for TROMjaro OS"
arch=(any)
url=""
license=(unknown)
depends=('xfce4-appfinder'
'xdotool'
2022-09-18 17:32:19 +00:00
'rsync'
2022-09-20 11:13:04 +00:00
'inotify-tools'
'qt5-styleplugins'
2022-09-28 01:06:16 +00:00
'qt6gtk2'
'qqc2-desktop-style')
2022-09-15 23:14:20 +00:00
provides=('tromjaro-fixes')
backup=()
options=(!strip)
2022-09-28 13:56:31 +00:00
source=('scalable.zip::https://www.drive.tromsite.com/s/y8Gm7q6wLrXmtEN/download'
2022-09-28 20:25:01 +00:00
'tromjaro-fixes.sh')
2022-09-28 13:56:31 +00:00
sha256sums=('SKIP'
'SKIP')
2022-09-18 15:29:15 +00:00
install='fixes-package.install'
2022-09-15 23:14:20 +00:00
prepare() {
2022-09-18 15:29:15 +00:00
cp -R ../bin ../flatpak-overrides ../alpm-hooks ../systemd .
2022-09-15 23:14:20 +00:00
}
package() {
# copy scripts
install -d ${pkgdir}/usr/bin
install -Dm755 ${srcdir}/bin/standalone/* ${pkgdir}/usr/bin
install -Dm755 ${srcdir}/bin/periodic/* ${pkgdir}/usr/bin
# copy alpm hooks
install -d ${pkgdir}/usr/share/libalpm/hooks
install -Dm644 ${srcdir}/alpm-hooks/* ${pkgdir}/usr/share/libalpm/hooks
# copy flatpak overrides
install -d ${pkgdir}/var/lib/flatpak/overrides
install -Dm644 ${srcdir}/flatpak-overrides/* ${pkgdir}/var/lib/flatpak/overrides
2022-09-18 15:29:15 +00:00
# copy systemd units
install -d ${pkgdir}/usr/lib/systemd/user
install -Dm644 ${srcdir}/systemd/services/* ${pkgdir}/usr/lib/systemd/user
2022-09-22 18:57:49 +00:00
2022-09-28 13:57:47 +00:00
# copy zafiro dark icons
2022-09-22 12:28:38 +00:00
install -d ${pkgdir}/usr/local/share/icons/zafiro-dark/apps/scalable
install -Dm755 ${srcdir}/scalable/* ${pkgdir}/usr/local/share/icons/zafiro-dark/apps/scalable
2022-09-21 22:44:49 +00:00
2022-09-22 12:28:38 +00:00
# copy zafiro icons
install -d ${pkgdir}/usr/local/share/icons/zafiro/apps/scalable
2022-09-22 18:57:49 +00:00
install -Dm755 ${srcdir}/scalable/* ${pkgdir}/usr/local/share/icons/zafiro/apps/scalable
2022-09-28 13:56:31 +00:00
# copy tromjaro-fixes.sh
install -d ${pkgdir}/etc/profile.d/
install -Dm644 ${srcdir}/tromjaro-fixes.sh ${pkgdir}/etc/profile.d/
2022-09-28 16:02:05 +00:00
}