Files
tuxOS/packages/tuxos-calamares-config/PKGBUILD
2023-04-29 00:31:15 +05:30

23 lines
462 B
Bash

# Maintainer: tux <0xtux@pm.me>
pkgname=tuxos-calamares-config
pkgver=1.0
pkgrel=1
pkgdesc="Calamares configuration for tuxOS."
arch=('any')
license=('GPL')
provides=($pkgname)
conflicts=($pkgname)
depends=()
prepare() {
cp -af ../files/. ${srcdir}
}
package() {
# copy all files recursively in /etc/calamares
(find calamares -type f -exec install -Dm 644 "{}" "$pkgdir/etc/{}" \;)
# make scripts executable
chmod 755 "$pkgdir"/etc/calamares/launch.sh
}