mcpatcher: Wrote and added a .desktop for easier access.

This commit is contained in:
Frederik "Freso" S. Olesen 2012-09-19 01:25:28 +02:00
parent ab65ff5d19
commit 1d6588f6df
4 changed files with 17 additions and 1 deletions

View file

@ -10,8 +10,10 @@ pkgbase = mcpatcher
optdepends = minecraft: the game itself
noextract = mcpatcher-2.4.2_03.jar
source = mcpatcher
source = mcpatcher.desktop
source = https://github.com/downloads/pclewis/mcpatcher/mcpatcher-2.4.2_03.jar
md5sums = 38358254be76dc84676509f43be44938
md5sums = 37c9c1d09bdf97f60a2c46a7fabbd931
md5sums = acf12fb6c39263b2e7e8b2714418a796
pkgname = mcpatcher

View file

@ -1,4 +1,5 @@
2012-09-XX Frederik "Freso" S. Olesen <archlinux@freso.dk>
2012-09-19 Frederik "Freso" S. Olesen <archlinux@freso.dk>
* 2.4.2_03-2 :
Added a ChangeLog file for the PKGBUILD. :)
Now includes a .desktop file for easier access. Enjoy!

View file

@ -13,14 +13,17 @@ optdepends=('minecraft: the game itself')
noextract=("$pkgname-$pkgver.jar")
changelog=ChangeLog
source=(mcpatcher
mcpatcher.desktop
https://github.com/downloads/pclewis/mcpatcher/$pkgname-$pkgver.jar)
md5sums=('38358254be76dc84676509f43be44938'
'37c9c1d09bdf97f60a2c46a7fabbd931'
'acf12fb6c39263b2e7e8b2714418a796')
build() {
cd "$srcdir"
install -vDm755 "mcpatcher" "$pkgdir/usr/bin/mcpatcher"
install -vDm644 "mcpatcher.desktop" "$pkgdir/usr/share/applications/mcpatcher.desktop"
install -vDm644 "$pkgname-$pkgver.jar" "$pkgdir/usr/share/mcpatcher/mcpatcher.jar"
}

10
mcpatcher.desktop Normal file
View file

@ -0,0 +1,10 @@
[Desktop Entry]
Type=Application
Version=1.0
Name=MCPatcher
Comment=Minecraft patcher for HD textures and more.
TryExec=mcpatcher
Exec=mcpatcher
Terminal=false
Categories=Game;
Keywords=minecraft;