38 lines
1.2 KiB
Bash
38 lines
1.2 KiB
Bash
|
# Maintainer: TROM <contact@tromsite.com>
|
||
|
pkgname=tromjaro-fixes
|
||
|
pkgver=1.0.0
|
||
|
pkgrel=1
|
||
|
pkgdesc="Various fixes for TROMjaro OS"
|
||
|
arch=(any)
|
||
|
url=""
|
||
|
license=(unknown)
|
||
|
depends=()
|
||
|
provides=('tromjaro-fixes')
|
||
|
backup=()
|
||
|
options=(!strip)
|
||
|
install='fixes-package.install'
|
||
|
|
||
|
prepare() {
|
||
|
cp -R ../bin ../flatpak-overrides ../alpm-hooks ../systemd .
|
||
|
}
|
||
|
|
||
|
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 systemd units
|
||
|
install -d ${pkgdir}/usr/lib/systemd/system
|
||
|
install -Dm644 ${srcdir}/systemd/services/* ${pkgdir}/usr/lib/systemd/system
|
||
|
install -Dm644 ${srcdir}/systemd/timers/* ${pkgdir}/usr/lib/systemd/system
|
||
|
|
||
|
# 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
|
||
|
}
|