summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: bdfec0e4a6e720ec44781847382116203e91d75b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#Maintainer: Nissar Chababy <funilrys at outlook dot com>

pkgname=disunity
pkgver=0.5.0
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=('1915de291f1f6583e917d837416ac00a44e99bde4633898aecb9093a30c5bdac'
            'da282d9263d78b39915bd90f8b57703076928001a21e5f9b2c8f7f83e309b0ab')

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/java/disunity/disunity.jar"
  find lib/ -name '*.jar' -exec install -Dm644 {} "$pkgdir/usr/share/java/disunity/"{} \;
}