1 # Maintainer: Stefan Seemayer <mail@semicolonsoftware.de>
5 pkgdesc="Minecraft Inventory Editor"
7 url="http://www.minecraftforum.net/topic/14190-invedit/"
12 conflicts=( invedit-git )
16 install=invedit.install
17 source=(http://copy.mcft.net/mc/INVedit/INVedit.zip invedit.desktop invedit.png)
18 md5sums=('5a2aabe7de5579a297d4b180ef6f41bf'
19 '8a74dfee530af3181a8c3b0ec50cf4b7'
20 '7e3e85448d9681d46c36b0f574f88619')
25 # create directory structure
26 mkdir -p $pkgdir/usr/{bin,share/{invedit,pixmaps,applications}} || exit 1
29 install -Dm755 "INVedit.exe" "NBT.dll" "$pkgdir/usr/share/invedit/"
31 # install required files (items list, images, etc.)
32 install -m644 "items.txt" "items.png" "special.png" "terrain.png" "$pkgdir/usr/share/invedit/"
34 # install shell script so we can launch INVedit with "invedit"
35 echo -e "#!/bin/bash\nmono /usr/share/invedit/INVedit.exe" > "$pkgdir/usr/bin/invedit" && chmod 755 "$pkgdir/usr/bin/invedit"
37 # install icon and freedesktop.org .desktop file
38 install -Dm644 "$srcdir/invedit.png" "$pkgdir/usr/share/pixmaps/invedit.png"
39 install -Dm644 "$srcdir/invedit.desktop" "$pkgdir/usr/share/applications/invedit.desktop"
43 # vim:set ts=2 sw=2 et: