diff options
author | Brett Cornwall | 2016-08-14 18:06:25 -0600 |
---|---|---|
committer | Ainola | 2016-08-14 18:10:46 -0600 |
commit | 39cc12e591c568ec705e06e521a7f6f577d51e4d (patch) | |
tree | 4f2d71c30fcc250f69362f1608e36a18bbca9eb4 | |
parent | 5e24f909f111f8eca63cdbed59f9bfa1954a4349 (diff) | |
download | aur-39cc12e591c568ec705e06e521a7f6f577d51e4d.tar.gz |
add TechnicLauncher.jar to noextract.
Some update to bsdtar seems to have broken extracts with the error
"can't replace existing directory with non-directory bsdtar". By
extracting only what we need this fixes it.
-rw-r--r-- | PKGBUILD | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -10,6 +10,7 @@ license=('GPL3') url='http://www.technicpack.net/' depends=('java-runtime' 'xorg-xrandr' 'hicolor-icon-theme') makedepends=('icoutils') +noextract=('TechnicLauncher.jar') source=("http://launcher.technicpack.net/launcher${pkgver:0:1}/${pkgver:2}/TechnicLauncher.jar" "technic-launcher" "technic-launcher.desktop") @@ -23,6 +24,7 @@ package(){ # Desktop integration install -D -m644 "${srcdir}/technic-launcher.desktop" "${pkgdir}/usr/share/applications/technic-launcher.desktop" + bsdtar -xf TechnicLauncher.jar net/technicpack/launcher/resources/icon.ico icotool -x -o "$srcdir" "${srcdir}/net/technicpack/launcher/resources/icon.ico" for size in 16 32 48 64; do install -D -m644 "${srcdir}/icon_"?"_${size}x${size}x32.png" \ |