makedeb


xfwm-effects 1.6-4


Special Effects for the Xfce Window Manager,Works with Xfwm4 version 4.16.1 64 bit only, or Xubuntu 21.04 release version

Click here to go back to the commit logs for xfwm-effects.

Commit:


Hash: 365ddb594c7b4b9cac9c0dac3c5c9e4d75193ec8

Message: minor update

Diff


diff --git a/.SRCINFO b/.SRCINFO
index 94163ca..9706203 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -3,8 +3,9 @@ generated-by = makedeb-makepkg
 pkgbase = xfwm-effects
 	pkgdesc = Special Effects for the Xfce Window Manager,Works with Xfwm4 version 4.16.1 64 bit only, or Xubuntu 21.04 release version
 	pkgver = 1.5
-	pkgrel = 1
+	pkgrel = 2
 	url = https://www.kalideva.com/
+	install = .install
 	arch = x86_64
 	license = GPL3
 	depends = libimlib2
diff --git a/.install b/.install
new file mode 100644
index 0000000..3243a88
--- /dev/null
+++ b/.install
@@ -0,0 +1,20 @@
+
+## arg 1:  the new package version
+post_install() {
+  echo "
+                           ████     ██   ███████   ██████████ ████████   
+                          ░██░██   ░██  ██░░░░░██ ░░░░░██░░░ ░██░░░░░    
+                          ░██░░██  ░██ ██     ░░██    ░██    ░██         
+                          ░██ ░░██ ░██░██      ░██    ░██    ░███████    
+                          ░██  ░░██░██░██      ░██    ░██    ░██░░░░   ██
+                          ░██   ░░████░░██     ██     ░██    ░██      ░░ 
+                          ░██    ░░███ ░░███████      ░██    ░████████ ██
+                          ░░      ░░░   ░░░░░░░       ░░     ░░░░░░░░ ░░ "
+echo "----------------------------------------------------------"
+echo "To start modified xfwm4 window manager, run this command: "
+echo ""\"""\/"usr"\/""\/"bin"\/"xfwm4 --replace & disown"\"" from a terminal."
+echo "Note: To switch back to original xfwm4, you can run: " 
+echo ""\"""\/"usr"\/"bin"\/"xfwm4 --replace & disown"\"" from a terminal."
+echo "----------------------------------------------------------"
+}
+
diff --git a/PKGBUILD b/PKGBUILD
index a6c33de..9902bac 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
 # Maintainer: only_vip  <onlyme_vip@protonmail.com>
 pkgname=xfwm-effects
 pkgver=1.5
-pkgrel=1
+pkgrel=2
 pkgdesc="Special Effects for the Xfce Window Manager,Works with Xfwm4 version 4.16.1 64 bit only, or Xubuntu 21.04 release version"
 arch=('x86_64')
 url="https://www.kalideva.com/"
@@ -14,39 +14,31 @@ depends=('libimlib2' 'make' 'xfce4-dev-tools' 'libglib2.0-dev' 'xorg-dev' 'libpa
 provides=('xfwm-effects')
 conflicts=('xfwm-effects')
 # replaces=('xfwm-effects')
+install='.install'
 source=("${url}/releases/${pkgname}-install-${pkgver}.tar.gz")
 sha512sums=('76848b35bc98dd1588c62e9d4ad0fcd66246a28799fd6ecbbcffd8fe8b3bf0ea967eca6d28367b30e63cd96005c0594b92091188951c9401ce4d96efe2f5611d')
 #options=(!strip)
 
 package() {
   cd ${srcdir}/${pkgname}-install-${pkgver}
-install -Dm755 "xfwm4" "${pkgdir}/usr/local/bin/xfwm4"
+install -Dm755 "xfwm4" "${pkgdir}/usr/bin/xfwm4"
 # install 'xfwm-effects.xml' to '/home/user/.config/xfce4/xfconf/xfce-perchannel-xml/'
 install -Dm644 "xfwm-effects.xml" "${pkgdir}/$HOME/.config/xfce4/xfconf/xfce-perchannel-xml/xfwm-effects.xml"
-# copy /usr/share/xfwm4/defaults to /usr/local/share/xfwm4/defaults
-# since /usr/local/bin/xfwm4 will look there instead
-install -Dm644 "/usr/share/xfwm4/defaults" "${pkgdir}/usr/local/share/xfwm4/defaults"
+chown $USER  "${pkgdir}/$HOME/.config/xfce4/xfconf/xfce-perchannel-xml/xfwm-effects.xml"
+# copy /usr/share/xfwm4/defaults to /usr//share/xfwm4/defaults
+# since /usr/bin/xfwm4 will look there instead
+install -Dm644 "/usr/share/xfwm4/defaults" "${pkgdir}/usr/share/xfwm4/defaults"
 
 # install xfwm-effects panel app:
 
-# install 'xfwm-effects' binary to 'usr/local/bin/'
-install -Dm755 "xfwm-effects" "${pkgdir}/usr/local/bin/xfwm-effects"
-# install 'xfwm-effects.desktop' to 'usr/local/share/applications/'
-install -Dm644 "xfwm-effects.desktop" "${pkgdir}/usr/local/share/applications/xfwm-effects.desktop"
-# install 'xfwm-effects.glade' to 'usr/local/share/xfwm-effects/'
-install -Dm644 "xfwm-effects.glade" "${pkgdir}/usr/local/share/xfwm-effects/xfwm-effects.glade"
-# install 'xfwm-effects.svg' to 'usr/local/share/xfwm-effects/
-install -Dm644 "xfwm-effects.svg" "${pkgdir}/usr/local/share/xfwm-effects/xfwm-effects.svg"
+# install 'xfwm-effects' binary to 'usr/bin/'
+install -Dm755 "xfwm-effects" "${pkgdir}/usr/bin/xfwm-effects"
+# install 'xfwm-effects.desktop' to 'usr/share/applications/'
+install -Dm644 "xfwm-effects.desktop" "${pkgdir}/usr/share/applications/xfwm-effects.desktop"
+# install 'xfwm-effects.glade' to 'usr/share/xfwm-effects/'
+install -Dm644 "xfwm-effects.glade" "${pkgdir}/usr/share/xfwm-effects/xfwm-effects.glade"
+# install 'xfwm-effects.svg' to 'usr/share/xfwm-effects/
+install -Dm644 "xfwm-effects.svg" "${pkgdir}/usr/share/xfwm-effects/xfwm-effects.svg"
 # the blur effects are created by Imlib2 library
-install -Dm644 "README.txt" "${pkgdir}/usr/local/share/xfwm-effects/docs/README.txt"
-
-echo  " +-+-+-+-+"
-echo  " |n|o|t|e|"
-echo  " +-+-+-+-+"
-echo "----------------------------------------------------------"
-echo "To start modified xfwm4 window manager, run this command: "
-echo ""\"""\/"usr"\/"local"\/"bin"\/"xfwm4 --replace & disown"\"" from a terminal."
-echo "Note: To switch back to original xfwm4, you can run: " 
-echo ""\"""\/"usr"\/"bin"\/"xfwm4 --replace & disown"\"" from a terminal."
-echo "----------------------------------------------------------"
+install -Dm644 "README.txt" "${pkgdir}/usr/share/xfwm-effects/docs/README.txt"
 }