mcpatcher: Remove unzip make dependency.

bsdcpio is part of the libarchive package, which pacman depends on.
This commit is contained in:
Frederik "Freso" S. Olesen 2012-09-28 12:30:20 +02:00
parent 7b8d9737a4
commit 6263ecbc8e
2 changed files with 1 additions and 3 deletions

View file

@ -6,7 +6,6 @@ pkgbase = mcpatcher
changelog = ChangeLog
arch = any
license = Public Domain
makedepends = unzip
depends = java-runtime
optdepends = minecraft: the game itself
noextract = mcpatcher-2.4.3.jar

View file

@ -10,7 +10,6 @@ license=('Public Domain')
url="https://github.com/pclewis/mcpatcher"
depends=('java-runtime')
optdepends=('minecraft: the game itself')
makedepends=('unzip')
noextract=("$pkgname-$pkgver.jar")
changelog=ChangeLog
source=(mcpatcher
@ -24,7 +23,7 @@ build() {
cd "$srcdir"
# Extract icon
unzip "$pkgname-$pkgver.jar" 'resources/icon.png'
bsdcpio --extract --make-directories 'resources/icon.png' < "$pkgname-$pkgver.jar"
install -vDm755 "mcpatcher" "$pkgdir/usr/bin/mcpatcher"
install -vDm644 "resources/icon.png" "$pkgdir/usr/share/pixmaps/mcpatcher.png"