From f234ba3295d2e20940df81aedcf8ff8925f7ebd6 Mon Sep 17 00:00:00 2001 From: davedatum Date: Mon, 4 Nov 2019 15:56:27 +0000 Subject: [PATCH] added install file for patch --- .SRCINFO | 3 +++ .gitignore | 1 + PKGBUILD | 10 +++++----- tromjaro-gnome-shell-fix.install | 7 +++++++ 4 files changed, 16 insertions(+), 5 deletions(-) create mode 100644 tromjaro-gnome-shell-fix.install diff --git a/.SRCINFO b/.SRCINFO index 8e0a20d..7ff5478 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -9,10 +9,12 @@ pkgbase = tromjaro-settings source = tromjaro-logo.png source = tromjaro-branding-install.hook source = tromjaro-branding-remove.hook + source = tromjaro-gnome-shell-fix.install sha256sums = SKIP sha256sums = 9c870f664d3e479ddc5ac3752ad92df95f9b07a46382ec2d0b8d20712ee67060 sha256sums = 85ef166fc107808ada7449d23eef9a95861e4311527a741becf27cfbd2f4399a sha256sums = d17518ef6b9635c78fa333487f148570c65005adee684f173c6961dbfab09cd5 + sha256sums = 8460dfa2128963acffa75b3a060182e27c9f4e501d2bec948fb0fc8a9bf086b2 pkgname = tromjaro-settings pkgdesc = TROMjaro Settings @@ -25,5 +27,6 @@ pkgname = tromjaro-branding pkgname = tromjaro-gnome-shell-fix pkgdesc = fix for gnome extensions disabled on logout + install = tromjaro-gnome-shell-fix.install depends = gnome-shell diff --git a/.gitignore b/.gitignore index c3ed742..ba81f9a 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,7 @@ !tromjaro-branding-remove.hook !tromjaro-logo.png !tromjaro-branding-install.hook +!tromjaro-gnome-shell-fix.install !PKGBUILD !.SRCINFO !.gitignore \ No newline at end of file diff --git a/PKGBUILD b/PKGBUILD index 6477544..2dd45bd 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -10,12 +10,14 @@ license=("GPL") source=("tromjaro-settings::git+$url.git" "tromjaro-logo.png" "tromjaro-branding-install.hook" - "tromjaro-branding-remove.hook") + "tromjaro-branding-remove.hook" + "tromjaro-gnome-shell-fix.install") makedepends=("git") sha256sums=('SKIP' '9c870f664d3e479ddc5ac3752ad92df95f9b07a46382ec2d0b8d20712ee67060' '85ef166fc107808ada7449d23eef9a95861e4311527a741becf27cfbd2f4399a' - 'd17518ef6b9635c78fa333487f148570c65005adee684f173c6961dbfab09cd5') + 'd17518ef6b9635c78fa333487f148570c65005adee684f173c6961dbfab09cd5' + '8460dfa2128963acffa75b3a060182e27c9f4e501d2bec948fb0fc8a9bf086b2') _inst_dir(){ install -d "${pkgdir}/etc" @@ -62,9 +64,7 @@ package_tromjaro-gnome-shell-fix() { pkgname=tromjaro-gnome-shell-fix pkgdesc="fix for gnome extensions disabled on logout" depends=("gnome-shell") - - install -Dm644 "${srcdir}/${pkgbase}/patches/tromjaro-gnome-shell-fix/tromjaro-gnome-shell-fix.install" \ - "${pkgdir}/usr/bin/tromjaro-gnome-shell-fix.install" +install=tromjaro-gnome-shell-fix.install install -Dm644 "${srcdir}/${pkgbase}/patches/tromjaro-gnome-shell-fix/tromjaro-gnome-shell-fix.sh" \ "${pkgdir}/usr/bin/tromjaro-gnome-shell-fix" diff --git a/tromjaro-gnome-shell-fix.install b/tromjaro-gnome-shell-fix.install new file mode 100644 index 0000000..46affc2 --- /dev/null +++ b/tromjaro-gnome-shell-fix.install @@ -0,0 +1,7 @@ +post_install() { + chmod +x /usr/bin/tromjaro-gnome-shell-fix +} + +post_upgrade() { + post_install +} \ No newline at end of file