fixes-package/PKGBUILD
Tio TROM 65367cdb69 added dependencies
xfce4-appfinder
xdotool
rsync
2022-09-17 12:51:55 +02:00

34 lines
962 B
Bash

# Maintainer: TROM <contact@tromsite.com>
pkgname=tromjaro-fixes
pkgver=1.1.0
pkgrel=1
pkgdesc="Various fixes for TROMjaro OS"
arch=(any)
url=""
license=(unknown)
depends=('xfce4-appfinder'
'xdotool'
'rsync')
provides=('tromjaro-fixes')
backup=()
options=(!strip)
prepare() {
cp -R ../bin ../flatpak-overrides ../alpm-hooks .
}
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
}