summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD23
-rw-r--r--launch.sh2
3 files changed, 41 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..491c53eb62f
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = disunity
+ pkgdesc = An experimental toolset for Unity asset and asset bundle files.
+ pkgver = 0.3.4
+ pkgrel = 1
+ url = https://github.com/ata4/disunity
+ arch = any
+ license = public domain
+ makedepends = dos2unix
+ depends = java-runtime
+ source = https://github.com/ata4/disunity/releases/download/v0.3.4/disunity_v0.3.4.zip
+ source = launch.sh
+ sha256sums = 5fa7440698cd71616a3521c24ac7eba61003e63806c1fa8cff6d032b1896d5db
+ sha256sums = 5230b932855b541990e0886527b1fd161644671f9fbb6a1e06c471ca027f9f44
+
+pkgname = disunity
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..9e5124ef0cd
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,23 @@
+pkgname=disunity
+pkgver=0.3.4
+pkgrel=1
+pkgdesc="An experimental toolset for Unity asset and asset bundle files."
+arch=("any")
+url="https://github.com/ata4/disunity"
+license=("public domain")
+makedepends=(dos2unix)
+depends=(java-runtime)
+source=("https://github.com/ata4/disunity/releases/download/v$pkgver/disunity_v$pkgver.zip" "launch.sh")
+sha256sums=('5fa7440698cd71616a3521c24ac7eba61003e63806c1fa8cff6d032b1896d5db'
+ '5230b932855b541990e0886527b1fd161644671f9fbb6a1e06c471ca027f9f44')
+
+prepare() {
+ find . -type f -exec dos2unix {} \;
+}
+
+package() {
+ install -Dm644 LICENSE.md "$pkgdir/usr/share/licenses/disunity/LICENSE.md"
+ install -Dm755 launch.sh "$pkgdir/usr/bin/disunity"
+ install -Dm644 disunity.jar "$pkgdir/usr/share/disunity/disunity.jar"
+ find lib/ -name '*.jar' -exec install -Dm644 {} "$pkgdir/usr/share/disunity/"{} \;
+}
diff --git a/launch.sh b/launch.sh
new file mode 100644
index 00000000000..9d11fa32b30
--- /dev/null
+++ b/launch.sh
@@ -0,0 +1,2 @@
+#!/bin/sh
+java -jar /usr/share/disunity/disunity.jar $@