makedeb


ntfd 0.2.2-4


A lightweight notification daemon for fancy desktop integrations

Click here to go back to the commit logs for ntfd.

Commit:


Hash: 9b1c3652ae59b3797ef5748392879bb9c02b2340

Message: added an install script instead of echoing commands from the pkgbuild

Diff


diff --git a/.install b/.install
new file mode 100644
index 0000000..edd7c24
--- /dev/null
+++ b/.install
@@ -0,0 +1,15 @@
+
+## arg 1:  the new package version
+post_install() {
+  echo "
+                           ████     ██   ███████   ██████████ ████████   
+                          ░██░██   ░██  ██░░░░░██ ░░░░░██░░░ ░██░░░░░    
+                          ░██░░██  ░██ ██     ░░██    ░██    ░██         
+                          ░██ ░░██ ░██░██      ░██    ░██    ░███████    
+                          ░██  ░░██░██░██      ░██    ░██    ░██░░░░   ██
+                          ░██   ░░████░░██     ██     ░██    ░██      ░░ 
+                          ░██    ░░███ ░░███████      ░██    ░████████ ██
+                          ░░      ░░░   ░░░░░░░       ░░     ░░░░░░░░ ░░ "
+  echo -e "config.toml needs to copied to the home directory manually by the user. documentation related files are installed in the /usr/local/share/doc/ntfd directory"
+}
+
diff --git a/PKGBUILD b/PKGBUILD
index ae359d3..3eace86 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -20,18 +20,9 @@ sha512sums=(
   'b9be06c522a8947771a40c635173dce15cf60fcad4fb65a2ddc27b4a3c415beff1d024b58fbed3dda109e9c3470e1d2d608c810976256634695eb9a6d42f0be3'
   'SKIP')
 
-
 package() {
   install -Dm755 "${srcdir}/${pkgname}-${arch}-unknown-linux-musl" "${pkgdir}/usr/local/bin/ntfd"
   install -Dm644 "${srcdir}/${pkgname}/README.md" "${pkgdir}/usr/local/share/doc/ntfd/README.md"
   install -Dm644 "${srcdir}/${pkgname}/LICENSE" "${pkgdir}/usr/local/share/doc/ntfd/LICENSE"
   install -Dm644 "${srcdir}/${pkgname}/config.toml" "${pkgdir}/usr/local/share/doc/ntfd/config.toml"
-   echo -e                     "_   _  ____ _______ ______ "
-   echo -e                    "| \ | |/ __ \__   __|  ____|"
-   echo -e                    "|  \| | |  | | | |  | |__   "
-   echo -e                    "|  |  | |  | | | |  |  __|  "
-   echo -e                    "| |\  | |__| | | |  | |____ "
-   echo -e                    "|_| \_|\____/  |_|  |______|"
-   echo -e                    "                            "  
-  echo -e "config.toml needs to copied to the home directory manually by the user. documentation related files are installed in the /usr/local/share/doc/ntfd directory"
 }