summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorDmitriy Bogdanov2018-03-04 17:42:15 +0400
committerDmitriy Bogdanov2018-03-04 17:42:15 +0400
commit7296eba9c928279a38a1f8bcda6c728b456f7325 (patch)
tree114fb503fd33c41f2fa117339a7089061986a568 /PKGBUILD
parent04319d2869735c9348f91879abb85fc13acfad32 (diff)
downloadaur-sun-wtk.tar.gz
Manually extract sources
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD8
1 files changed, 3 insertions, 5 deletions
diff --git a/PKGBUILD b/PKGBUILD
index d33dda31fc4..23b29cd583b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=sun-wtk
pkgver="2.5.2_01"
-pkgrel=2
+pkgrel=3
pkgdesc="Sun Java Wireless Toolkit for CLDC (J2ME, MIDP)."
arch=('i686' 'x86_64')
url='http://www.oracle.com/technetwork/java/index-jsp-137162.html'
@@ -39,10 +39,8 @@ sha256sums=('416ea8c8dc56e3563fc92e89bb9dde243662272bc4c88121d8fc1074044b4bb2'
prepare() {
- # In case makepkg couldn't extract *.bin.sh file for some reason,
- # here is the way the *.bin.sh script is supposed to extract data from itself:
- #dd bs=1024 if="${srcdir}/sun_java_wireless_toolkit-2.5.2_01-linuxi486.bin.sh" of="${srcdir}/j2mewtk-unix.zip" skip=26 2>/dev/null
- #unzip -oq "${srcdir}/j2mewtk-unix.zip" -d "${srcdir}/"
+ dd bs=1024 if="${srcdir}/sun_java_wireless_toolkit-2.5.2_01-linuxi486.bin.sh" of="${srcdir}/j2mewtk-unix.zip" skip=26 2>/dev/null
+ unzip -oq "${srcdir}/j2mewtk-unix.zip" -d "${srcdir}/"
# By default WTK saves some configuration files in ~/j2mewtk/
# Usually, you don't need to access it, so it is possible to hack WTK files a bit