small tweak

This commit is contained in:
davedatum 2020-02-15 15:01:27 +00:00
parent 854dc79da2
commit a130e7d0c6
4 changed files with 7 additions and 34 deletions

3
.gitignore vendored
View File

@ -4,5 +4,4 @@
!.gitignore
!.SRCINFO
!PKGBUILD
!calamares-install.hook
!calamares-install.install

View File

@ -1,30 +1,21 @@
# Maintainer: davedatum <trom@davedatum.com>
# Maintainer: davedatum <trom at davedatum dot com>
pkgname=tromjaro-calamares-theme
pkgver=3.2.18
pkgrel=1
pkgrel=1.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')
source=("${pkgname}::git+${url}.git#commit=a1b0dcbcf953f4b46809a8773d6e3cdd9c04d47d")
sha256sums=('SKIP')
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"
install -Dm755 "${srcdir}/${pkgname}/calamares.desktop" \
"${pkgdir}/etc/skel/.config/autostart/calamares.desktop"
}

View File

@ -1,10 +0,0 @@
[Trigger]
Operation = Install
Operation = Upgrade
Type = Package
Target = tromjaro-calamares-theme
[Action]
Description = enable systemd timer + service for calamares_polkit
When = PostTransation
Exec = /bin/bash -c '/usr/bin/calamares-launch-script'

View File

@ -1,7 +0,0 @@
post_install() {
chmod +x /usr/bin/calamares-launch-script
}
post_upgrade() {
post_install
}