diff options
author | shinnova | 2016-09-08 21:46:47 +0200 |
---|---|---|
committer | shinnova | 2016-09-08 21:46:47 +0200 |
commit | e197c2b70ba7dc1348b8ac981a8925453f08f7fc (patch) | |
tree | 7342fda8736752ba670e6e08ea5b64f1041c8d79 | |
parent | 1fec97d0b0715dc2799dd06889f4f47fa9857811 (diff) | |
download | aur-e197c2b70ba7dc1348b8ac981a8925453f08f7fc.tar.gz |
Add .desktop file
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 10 | ||||
-rw-r--r-- | opendungeons.desktop | 7 |
3 files changed, 17 insertions, 4 deletions
@@ -1,7 +1,7 @@ pkgbase = opendungeons pkgdesc = Open source, real time strategy game sharing game elements with the Dungeon Keeper series and Evil Genius pkgver = 0.7.1 - pkgrel = 1 + pkgrel = 2 url = https://opendungeons.github.io arch = x86_64 license = GPL3 @@ -9,8 +9,10 @@ pkgbase = opendungeons options = !strip source = ftp://download.tuxfamily.org/opendungeons/0.7/OpenDungeons-0.7.1-Linux64.tar.bz2 source = opendungeons_startup + source = opendungeons.desktop md5sums = ad05df375a5f0b720120147975029229 md5sums = a9b6e78b78d09e07b87a76b36ffa6969 + md5sums = a31950dd6599b97471a9b90472a43706 pkgname = opendungeons @@ -3,7 +3,7 @@ pkgname="opendungeons" pkgver="0.7.1" _pkgname="OpenDungeons-${pkgver}-Linux64" -pkgrel="1" +pkgrel="2" pkgdesc="Open source, real time strategy game sharing game elements with the Dungeon Keeper series and Evil Genius" arch=('x86_64') url="https://opendungeons.github.io" @@ -11,15 +11,19 @@ options=('!strip') license=("GPL3") depends=("zziplib") source=("ftp://download.tuxfamily.org/opendungeons/0.7/OpenDungeons-0.7.1-Linux64.tar.bz2" - "opendungeons_startup") + "opendungeons_startup" + "opendungeons.desktop") md5sums=("ad05df375a5f0b720120147975029229" - "a9b6e78b78d09e07b87a76b36ffa6969") + "a9b6e78b78d09e07b87a76b36ffa6969" + "a31950dd6599b97471a9b90472a43706") package() { cd $srcdir mkdir -p "${pkgdir}/opt" mkdir -p "${pkgdir}/usr/bin" + mkdir -p "${pkgdir}/usr/share/applications" cp -r $_pkgname/ "${pkgdir}/opt/${pkgname}" install -Dm755 opendungeons_startup "${pkgdir}/usr/bin/${pkgname}" + install -Dm644 opendungeons.desktop "${pkgdir}/usr/share/applications/opendungeons.desktop" } diff --git a/opendungeons.desktop b/opendungeons.desktop new file mode 100644 index 000000000000..2ed4cab268a5 --- /dev/null +++ b/opendungeons.desktop @@ -0,0 +1,7 @@ +[Desktop Entry] +Type=Application +Version=0.7.1 +Name=OpenDungeons +GenericName=Open source game inspired by the Dungeon Keeper series +Exec=/usr/bin/opendungeons +Categories=Game |