diff options
author | jtmb | 2017-10-25 16:48:52 -0700 |
---|---|---|
committer | jtmb | 2017-10-25 16:48:52 -0700 |
commit | e24fb25dba4cba6d9cee5f575a2b2a39caf2b972 (patch) | |
tree | 473bf0ed8f68e012b0fbd9527148f1ced57b0235 | |
parent | 3b5712e9d41042d7d06b154d2d7628aa0bd85a2b (diff) | |
download | aur-e24fb25dba4cba6d9cee5f575a2b2a39caf2b972.tar.gz |
added a desktop file & narrowing down proper makedepends
-rw-r--r-- | .SRCINFO | 12 | ||||
-rw-r--r-- | PKGBUILD | 21 | ||||
-rw-r--r-- | pkhex.desktop | 11 | ||||
-rw-r--r-- | pkhex.png | bin | 0 -> 4004 bytes |
4 files changed, 34 insertions, 10 deletions
@@ -1,18 +1,24 @@ pkgbase = pkhex-git pkgdesc = Pokémon core series save editor, programmed in C#. pkgver = r3745.69cf1eaa - pkgrel = 1 + pkgrel = 2 url = https://github.com/kwsch/PKHeX arch = any license = GPL makedepends = monodevelop-stable makedepends = msbuild-15-bin - depends = mono + depends = mono-alpha + provides = pkhex + conflicts = pkhex options = !strip source = pkhex-git::git+https://github.com/kwsch/PKHeX#branch=master source = PKHeX.sh + source = pkhex.desktop + source = pkhex.png md5sums = SKIP - md5sums = SKIP + md5sums = 8bd71d319e130750a39f15d56b5636e1 + md5sums = 18966e43b894687954ee19df24532b54 + md5sums = ceb97fc5efcf4548ca4572b5116f5875 pkgname = pkhex-git @@ -2,19 +2,24 @@ _pkgname=pkhex pkgname=${_pkgname}-git pkgver=r3745.69cf1eaa -pkgrel=1 +pkgrel=2 pkgdesc="Pokémon core series save editor, programmed in C#." arch=(any) url="https://github.com/kwsch/PKHeX" license=('GPL') -depends=(mono) +depends=(mono-alpha) makedepends=(monodevelop-stable msbuild-15-bin) +provides=(pkhex) +conflicts=(pkhex) options=('!strip') source=("${pkgname}::git+https://github.com/kwsch/PKHeX#branch=master" - "PKHeX.sh") + "PKHeX.sh" + "pkhex.desktop" + "pkhex.png") md5sums=('SKIP' - 'SKIP') - + '8bd71d319e130750a39f15d56b5636e1' + '18966e43b894687954ee19df24532b54' + 'ceb97fc5efcf4548ca4572b5116f5875') pkgver() { @@ -31,6 +36,8 @@ build() { package() { + install -Dm644 "$_pkgname.desktop" "$pkgdir/usr/share/applications/$_pkgname.desktop" + install -Dm644 "$_pkgname.png" "$pkgdir/usr/share/pixmaps/$_pkgname.png" install -Dm755 -- PKHeX.sh "$pkgdir/usr/bin/PKHeX" cd "$pkgname" @@ -40,8 +47,8 @@ package() { install -Dm644 -- PKHeX.WinForms/bin/Mono-Release/PKHeX.Core.dll.config "$pkgdir/opt/${_pkgname}/PKHeX.Core.dll.config" mkdir -p -- "$pkgdir/opt/${_pkgname}/bak" mkdir -p -- "$pkgdir/opt/${_pkgname}/pkmdb" - chmod 757 -- "$pkgdir/opt/${_pkgname}/bak" - chmod 757 -- "$pkgdir/opt/${_pkgname}/pkmdb" + chmod 777 -- "$pkgdir/opt/${_pkgname}/bak" + chmod 777 -- "$pkgdir/opt/${_pkgname}/pkmdb" } diff --git a/pkhex.desktop b/pkhex.desktop new file mode 100644 index 000000000000..92012e84806d --- /dev/null +++ b/pkhex.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Encoding=UTF-8 +Type=Application +Name=PKHeX +GenericName=PKHeX +Comment="Pokémon core series save editor" +Exec=/usr/bin/PKHeX +Icon=pkhex.png +Terminal=false +StartupNotify=false +Categories=Game; diff --git a/pkhex.png b/pkhex.png Binary files differnew file mode 100644 index 000000000000..b675a02e85b6 --- /dev/null +++ b/pkhex.png |