# 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
}
