From c64c534a19aa3c5be7d0c5e3a84a55fe14fc9f80 Mon Sep 17 00:00:00 2001 From: jolupa Date: Wed, 3 Jul 2019 12:07:43 +0200 Subject: [PATCH] Adde desktop file for better launching --- oneko/.footprint | 4 ++++ oneko/.md5sum | 1 + oneko/Pkgfile | 7 +++++-- oneko/oneko.desktop | 9 +++++++++ 4 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 oneko/oneko.desktop diff --git a/oneko/.footprint b/oneko/.footprint index 416dcba..cb67920 100644 --- a/oneko/.footprint +++ b/oneko/.footprint @@ -1,3 +1,7 @@ drwxr-xr-x root/root usr/ drwxr-xr-x root/root usr/bin/ -rwxr-xr-x root/root usr/bin/oneko +drwxr-xr-x root/root usr/etc/ +drwxr-xr-x root/root usr/etc/xdg/ +drwxr-xr-x root/root usr/etc/xdg/autostart/ +-rw-r--r-- root/root usr/etc/xdg/autostart/oneko.desktop diff --git a/oneko/.md5sum b/oneko/.md5sum index bb6c877..0a81ce1 100644 --- a/oneko/.md5sum +++ b/oneko/.md5sum @@ -1 +1,2 @@ 456b318fa6e61431bf4f0a42b110014a oneko-1.2.sakura.5.tar.gz +a45d32bd01971f46af961fc44e6f9b6c oneko.desktop diff --git a/oneko/Pkgfile b/oneko/Pkgfile index 08be092..1382857 100644 --- a/oneko/Pkgfile +++ b/oneko/Pkgfile @@ -6,8 +6,8 @@ name=oneko version=1.2 _relversion=sakura.5 -release=2 -source=(http://www.daidouji.com/$name/distfiles/$name-$version.$_relversion.tar.gz) +release=3 +source=(http://www.daidouji.com/$name/distfiles/$name-$version.$_relversion.tar.gz oneko.desktop) build() { @@ -18,4 +18,7 @@ build() { make make DESTDIR=$PKG install + install -d $PKG/usr/etc/xdg/autostart + install -m 644 $SRC/oneko.desktop $PKG/usr/etc/xdg/autostart + } diff --git a/oneko/oneko.desktop b/oneko/oneko.desktop new file mode 100644 index 0000000..42b2c93 --- /dev/null +++ b/oneko/oneko.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Name=Oneko +Comment=A funny cursor chaser +Exec="/usr/bin/oneko -sakura -tofocus" +Terminal=false +Type=Application +Icon= +StartupWMClass= +Categories=Games;