added install file for patch

This commit is contained in:
davedatum 2019-11-04 15:56:27 +00:00
parent aeaed5d9f5
commit f234ba3295
4 changed files with 16 additions and 5 deletions

View File

@ -9,10 +9,12 @@ pkgbase = tromjaro-settings
source = tromjaro-logo.png source = tromjaro-logo.png
source = tromjaro-branding-install.hook source = tromjaro-branding-install.hook
source = tromjaro-branding-remove.hook source = tromjaro-branding-remove.hook
source = tromjaro-gnome-shell-fix.install
sha256sums = SKIP sha256sums = SKIP
sha256sums = 9c870f664d3e479ddc5ac3752ad92df95f9b07a46382ec2d0b8d20712ee67060 sha256sums = 9c870f664d3e479ddc5ac3752ad92df95f9b07a46382ec2d0b8d20712ee67060
sha256sums = 85ef166fc107808ada7449d23eef9a95861e4311527a741becf27cfbd2f4399a sha256sums = 85ef166fc107808ada7449d23eef9a95861e4311527a741becf27cfbd2f4399a
sha256sums = d17518ef6b9635c78fa333487f148570c65005adee684f173c6961dbfab09cd5 sha256sums = d17518ef6b9635c78fa333487f148570c65005adee684f173c6961dbfab09cd5
sha256sums = 8460dfa2128963acffa75b3a060182e27c9f4e501d2bec948fb0fc8a9bf086b2
pkgname = tromjaro-settings pkgname = tromjaro-settings
pkgdesc = TROMjaro Settings pkgdesc = TROMjaro Settings
@ -25,5 +27,6 @@ pkgname = tromjaro-branding
pkgname = tromjaro-gnome-shell-fix pkgname = tromjaro-gnome-shell-fix
pkgdesc = fix for gnome extensions disabled on logout pkgdesc = fix for gnome extensions disabled on logout
install = tromjaro-gnome-shell-fix.install
depends = gnome-shell depends = gnome-shell

1
.gitignore vendored
View File

@ -3,6 +3,7 @@
!tromjaro-branding-remove.hook !tromjaro-branding-remove.hook
!tromjaro-logo.png !tromjaro-logo.png
!tromjaro-branding-install.hook !tromjaro-branding-install.hook
!tromjaro-gnome-shell-fix.install
!PKGBUILD !PKGBUILD
!.SRCINFO !.SRCINFO
!.gitignore !.gitignore

View File

@ -10,12 +10,14 @@ license=("GPL")
source=("tromjaro-settings::git+$url.git" source=("tromjaro-settings::git+$url.git"
"tromjaro-logo.png" "tromjaro-logo.png"
"tromjaro-branding-install.hook" "tromjaro-branding-install.hook"
"tromjaro-branding-remove.hook") "tromjaro-branding-remove.hook"
"tromjaro-gnome-shell-fix.install")
makedepends=("git") makedepends=("git")
sha256sums=('SKIP' sha256sums=('SKIP'
'9c870f664d3e479ddc5ac3752ad92df95f9b07a46382ec2d0b8d20712ee67060' '9c870f664d3e479ddc5ac3752ad92df95f9b07a46382ec2d0b8d20712ee67060'
'85ef166fc107808ada7449d23eef9a95861e4311527a741becf27cfbd2f4399a' '85ef166fc107808ada7449d23eef9a95861e4311527a741becf27cfbd2f4399a'
'd17518ef6b9635c78fa333487f148570c65005adee684f173c6961dbfab09cd5') 'd17518ef6b9635c78fa333487f148570c65005adee684f173c6961dbfab09cd5'
'8460dfa2128963acffa75b3a060182e27c9f4e501d2bec948fb0fc8a9bf086b2')
_inst_dir(){ _inst_dir(){
install -d "${pkgdir}/etc" install -d "${pkgdir}/etc"
@ -62,9 +64,7 @@ package_tromjaro-gnome-shell-fix() {
pkgname=tromjaro-gnome-shell-fix pkgname=tromjaro-gnome-shell-fix
pkgdesc="fix for gnome extensions disabled on logout" pkgdesc="fix for gnome extensions disabled on logout"
depends=("gnome-shell") depends=("gnome-shell")
install=tromjaro-gnome-shell-fix.install
install -Dm644 "${srcdir}/${pkgbase}/patches/tromjaro-gnome-shell-fix/tromjaro-gnome-shell-fix.install" \
"${pkgdir}/usr/bin/tromjaro-gnome-shell-fix.install"
install -Dm644 "${srcdir}/${pkgbase}/patches/tromjaro-gnome-shell-fix/tromjaro-gnome-shell-fix.sh" \ install -Dm644 "${srcdir}/${pkgbase}/patches/tromjaro-gnome-shell-fix/tromjaro-gnome-shell-fix.sh" \
"${pkgdir}/usr/bin/tromjaro-gnome-shell-fix" "${pkgdir}/usr/bin/tromjaro-gnome-shell-fix"

View File

@ -0,0 +1,7 @@
post_install() {
chmod +x /usr/bin/tromjaro-gnome-shell-fix
}
post_upgrade() {
post_install
}