diff options
author | Aidan Coward | 2020-07-28 11:02:14 -0400 |
---|---|---|
committer | Aidan Coward | 2020-07-28 11:02:14 -0400 |
commit | a82c412e83365f6e5574a0844b5a02ecc19eb15e (patch) | |
tree | a5965b1e50b44dca63fdd2b6b8acf5f91cddeaf6 | |
parent | aac0ab12d3489bdd17725579f06735ce3ca4643e (diff) | |
download | aur-a82c412e83365f6e5574a0844b5a02ecc19eb15e.tar.gz |
added .desktop file and icon + doc in README
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 12 | ||||
-rw-r--r-- | README.txt | 2 | ||||
-rwxr-xr-x | xmage.desktop | 9 |
4 files changed, 24 insertions, 3 deletions
@@ -1,7 +1,7 @@ pkgbase = xmage pkgdesc = Java-based program for playing Magic:The Gathering, including client and server pkgver = 1.4.44V0 - pkgrel = 0 + pkgrel = 1 url = http://xmage.de install = xmage.install arch = any @@ -10,9 +10,11 @@ pkgbase = xmage optdepends = wmname: change window manager name for compatibility with certain WMs source = http://xmage.de/files/xmage_1.4.44V0.zip source = https://raw.githubusercontent.com/magefree/mage/master/LICENSE.txt + source = https://raw.githubusercontent.com/magefree/Launcher/master/src/main/resources/icon-mage.png source = http://xmage.today/java/jre-8u201-linux-x64.tar.gz sha256sums = 23c631fc4db1158f406f7dee1bec9f6a624cc7314abac1e7942450becdf56cf0 sha256sums = SKIP + sha256sums = SKIP sha256sums = 12c745fbb8735bf450b8c6ba6f649bebe19915f05742975e443bdc8566170352 pkgname = xmage @@ -3,7 +3,7 @@ pkgname=xmage pkgver=1.4.44V0 -pkgrel=0 +pkgrel=1 pkgdesc="Java-based program for playing Magic:The Gathering, including client and server" @@ -13,9 +13,11 @@ license=('MIT') source=("http://xmage.de/files/xmage_${pkgver}.zip" - 'https://raw.githubusercontent.com/magefree/mage/master/LICENSE.txt') + 'https://raw.githubusercontent.com/magefree/mage/master/LICENSE.txt' + 'https://raw.githubusercontent.com/magefree/Launcher/master/src/main/resources/icon-mage.png') sha256sums=("23c631fc4db1158f406f7dee1bec9f6a624cc7314abac1e7942450becdf56cf0" + "SKIP" "SKIP") ########################### @@ -88,5 +90,11 @@ fi msg2 "installing mage-server systemd unit file to /usr/lib/systemd/system..." mkdir -p "${pkgdir}"/usr/lib/systemd/system install -m755 ../mage-server.service "${pkgdir}"/usr/lib/systemd/system + + msg2 "installing icon and .desktop file..." + mkdir -p "${pkgdir}"/usr/share/icons + install -m755 icon-mage.png "${pkgdir}"/usr/share/icons/ + mkdir -p "${pkgdir}"/usr/share/applications + install -m755 xmage.desktop "${pkgdir}"/usr/share/applications/xmage.desktop } diff --git a/README.txt b/README.txt index 8b91189c8e57..c7451f38b0d8 100644 --- a/README.txt +++ b/README.txt @@ -13,3 +13,5 @@ https://www.reddit.com/r/XMage/comments/9k2t9o/new_install_blank_screen_when_lau The package comes with a systemd unit file to load mage-server on boot. The service restarts if mage-server crashes or closes unexpectedly. It is automatically installed to /usr/lib/systemd/system/mage-server.service + +The xmage.desktop file is installed to /usr/share/applications/xmage.desktop. This makes it visible in application menus. It can be installed to ~/Desktop if a desktop icon is desired. diff --git a/xmage.desktop b/xmage.desktop new file mode 100755 index 000000000000..ce3f44357d79 --- /dev/null +++ b/xmage.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Name=XMage +Exec=/usr/bin/mage-client +Type=Application +Categories=Game +StartupNotify=true +Icon=icon-mage.png +Terminal=false + |