small tweak
This commit is contained in:
parent
854dc79da2
commit
a130e7d0c6
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -4,5 +4,4 @@
|
||||||
!.gitignore
|
!.gitignore
|
||||||
!.SRCINFO
|
!.SRCINFO
|
||||||
!PKGBUILD
|
!PKGBUILD
|
||||||
!calamares-install.hook
|
|
||||||
!calamares-install.install
|
|
||||||
|
|
21
PKGBUILD
21
PKGBUILD
|
@ -1,30 +1,21 @@
|
||||||
# Maintainer: davedatum <trom@davedatum.com>
|
# Maintainer: davedatum <trom at davedatum dot com>
|
||||||
|
|
||||||
pkgname=tromjaro-calamares-theme
|
pkgname=tromjaro-calamares-theme
|
||||||
pkgver=3.2.18
|
pkgver=3.2.18
|
||||||
pkgrel=1
|
pkgrel=1.1
|
||||||
pkgdesc="Theme for calamares"
|
pkgdesc="Theme for calamares"
|
||||||
arch=("any")
|
arch=("any")
|
||||||
url="https://gitlab.com/tromsite/tromjaro/calamares-settings"
|
url="https://gitlab.com/tromsite/tromjaro/calamares-settings"
|
||||||
license=("GPL3")
|
license=("GPL3")
|
||||||
depends=("calamares")
|
depends=("calamares")
|
||||||
makedepends=("git")
|
makedepends=("git")
|
||||||
source=("${pkgname}::git+${url}.git#commit=8b995f95af722de674fcdbe286fbc1f438c3e82b"
|
source=("${pkgname}::git+${url}.git#commit=a1b0dcbcf953f4b46809a8773d6e3cdd9c04d47d")
|
||||||
"calamares-install.hook"
|
sha256sums=('SKIP')
|
||||||
"calamares-install.install")
|
|
||||||
sha256sums=('SKIP'
|
|
||||||
'c45e567fe629bf1b2c670d08ccc44374f0ae3646dda00da4dcc0077aa7f2f6e8'
|
|
||||||
'792f8773a590515dcffa08f1c2eb906efd99aac630bbd3f5b70a358f3a7f8e7c')
|
|
||||||
|
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
install -d "${pkgdir}/etc"
|
install -d "${pkgdir}/etc"
|
||||||
cp -r "${srcdir}/${pkgname}/calamares" "${pkgdir}/etc/"
|
cp -r "${srcdir}/${pkgname}/calamares" "${pkgdir}/etc/"
|
||||||
install -Dm644 "${srcdir}/calamares-install.hook" "${pkgdir}/usr/share/libalpm/hooks/calamares-install.hook"
|
install -Dm755 "${srcdir}/${pkgname}/calamares.desktop" \
|
||||||
|
"${pkgdir}/etc/skel/.config/autostart/calamares.desktop"
|
||||||
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"
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -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'
|
|
|
@ -1,7 +0,0 @@
|
||||||
post_install() {
|
|
||||||
chmod +x /usr/bin/calamares-launch-script
|
|
||||||
}
|
|
||||||
|
|
||||||
post_upgrade() {
|
|
||||||
post_install
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user