1
0
forked from ports/contrib

sxiv: added desktop file

This commit is contained in:
Tim Biermann 2021-07-25 13:05:51 +02:00
parent 5adb926975
commit b9c9dab8e9
Signed by untrusted user: tb
GPG Key ID: 42F8B4E30B673606
3 changed files with 13 additions and 10 deletions

View File

@ -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

View File

@ -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

View File

@ -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
}