calamares-package/PKGBUILD

30 lines
1016 B
Bash

# Maintainer: davedatum <trom@davedatum.com>
pkgname=tromjaro-calamares-theme
pkgver=3.2.18
pkgrel=1
pkgdesc="Theme for calamares"
arch=("any")
url="https://gitlab.com/tromsite/tromjaro/calamares-settings"
license=("GPL3")
depends=("calamares")
makedepends=("git")
source=("${pkgname}::git+${url}.git#commit=c0bcac94f05e559801d28d2bd24eef5cc2823ae9"
"calamares-install.hook"
"calamares-install.install")
sha256sums=('SKIP'
'c45e567fe629bf1b2c670d08ccc44374f0ae3646dda00da4dcc0077aa7f2f6e8'
'792f8773a590515dcffa08f1c2eb906efd99aac630bbd3f5b70a358f3a7f8e7c')
package() {
install -d "${pkgdir}/etc"
cp -r "${srcdir}/${pkgname}/calamares" "${pkgdir}/etc/"
install -Dm644 "${srcdir}/calamares-install.hook" "${pkgdir}/usr/share/libalpm/hooks/calamares-install.hook"
install -d "${pkdir}/etc/systemd/system"
cp -r "${srcdir}/${pkgname}/systemd/*" "${pkgdir}/etc/systemd/system/"
install -Dm644 "${srcdir}/${pkgbase}/calamares-launch-script.sh" \
"${pkgdir}/usr/bin/calamares-launch-script"
}