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 /PKGBUILD | |
parent | aac0ab12d3489bdd17725579f06735ce3ca4643e (diff) | |
download | aur-a82c412e83365f6e5574a0844b5a02ecc19eb15e.tar.gz |
added .desktop file and icon + doc in README
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 12 |
1 files changed, 10 insertions, 2 deletions
@@ -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 } |