calamares-package/PKGBUILD
2020-02-15 12:48:19 +00:00

31 lines
1.1 KiB
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=8b995f95af722de674fcdbe286fbc1f438c3e82b"
"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 -Dm644 "${srcdir}/${pkgname}/systemd/calamares-launch.service" "${pkgdir}/etc/systemd/system/calamares-launch.service"
install -Dm644 "${srcdir}/${pkgname}/systemd/calamares-launch.timer" "${pkgdir}/etc/systemd/system/calamares-launch.timer"
install -Dm644 "${srcdir}/${pkgbase}/calamares-launch-script.sh" \
"${pkgdir}/usr/bin/calamares-launch-script"
}