[crux-commits] ports/contrib (3.6): sxiv: added desktop file

crux at crux.nu crux at crux.nu
Sun Jul 25 14:57:22 UTC 2021


commit b9c9dab8e934d8c5ef3f9c333962310a11702e50
Author: Tim Biermann <tbier at posteo.de>
Date:   Sun Jul 25 13:05:51 2021 +0200

    sxiv: added desktop file

diff --git a/sxiv/.footprint b/sxiv/.footprint
index 08facf673..d7a586e2c 100644
--- a/sxiv/.footprint
+++ b/sxiv/.footprint
@@ -2,6 +2,8 @@ drwxr-xr-x	root/root	usr/
 drwxr-xr-x	root/root	usr/bin/
 -rwxr-xr-x	root/root	usr/bin/sxiv
 drwxr-xr-x	root/root	usr/share/
+drwxr-xr-x	root/root	usr/share/applications/
+-rw-r--r--	root/root	usr/share/applications/sxiv.desktop
 drwxr-xr-x	root/root	usr/share/man/
 drwxr-xr-x	root/root	usr/share/man/man1/
 -rw-r--r--	root/root	usr/share/man/man1/sxiv.1.gz
diff --git a/sxiv/.signature b/sxiv/.signature
index 8efb6bb41..d08ac32b1 100644
--- a/sxiv/.signature
+++ b/sxiv/.signature
@@ -1,5 +1,5 @@
 untrusted comment: verify with /etc/ports/contrib.pub
-RWSagIOpLGJF37rsDr1ie61YnJdaNrr90rn8z6lpKlg905haBQv7ra13dqcFOhZHIdWHRaK+dSEjNLn2crKdDerz8s3KOimvwwc=
-SHA256 (Pkgfile) = 5e9236219f728a3c2875e0731b804b335473a8a711b252d732fc0b0d05bc5aa4
-SHA256 (.footprint) = 54015b09139273572d41d63e394d0cd5e591f959b91be66f98425d54c1508b0b
+RWSagIOpLGJF3xwIPhwHmq8ld8PHxQaBK4yxby9C+pUaHGydOY8Ffh8R8I3NtZdiDJLDVBnOqqVBm69u48FvsfmAdK5/rjEU2AQ=
+SHA256 (Pkgfile) = 28eadd11a81fcd59cb28859b98b7517198b2e9481c669220eb5a8b33122b0592
+SHA256 (.footprint) = 853f6da864280e80d61e5c577c15a4d891206b9a9dee3cf56c57cae9dce83618
 SHA256 (sxiv-26.tar.gz) = a382ad57734243818e828ba161fc0357b48d8f3a7f8c29cac183492b46b58949
diff --git a/sxiv/Pkgfile b/sxiv/Pkgfile
index a4b2be82c..65d72e840 100644
--- a/sxiv/Pkgfile
+++ b/sxiv/Pkgfile
@@ -5,16 +5,17 @@
 
 name=sxiv
 version=26
-release=1
+release=2
 source=(https://github.com/muennich/$name/archive/v$version/$name-$version.tar.gz)
 
 build () {
-	cd $name-$version
+  cd $name-$version
 
-	if [ -f $PKGMK_ROOT/config.h ]; then
-		cp $SRC/config.h .
-	fi
+  if [ -f $PKGMK_ROOT/config.h ]; then
+    cp $SRC/config.h .
+  fi
 
-	make CC=gcc CFLAGS="$CFLAGS"
-	make DESTDIR=$PKG PREFIX=/usr install
+  make CC=gcc CFLAGS="$CFLAGS"
+  make DESTDIR=$PKG PREFIX=/usr install
+  install -Dm644 sxiv.desktop $PKG/usr/share/applications/sxiv.desktop
 }


More information about the crux-commits mailing list