mirror of
https://github.com/archlinux/aur.git
synced 2026-03-05 03:32:19 +01:00
mcpatcher: Remove unzip make dependency.
bsdcpio is part of the libarchive package, which pacman depends on.
This commit is contained in:
parent
7b8d9737a4
commit
6263ecbc8e
2 changed files with 1 additions and 3 deletions
1
.SRCINFO
1
.SRCINFO
|
|
@ -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
|
||||
|
|
|
|||
3
PKGBUILD
3
PKGBUILD
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue