summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 06f2e19af6a7359802e7df0d1500aee7717188d4 (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
pkgname=kloud
pkgver=0.2
pkgrel=1
pkgdesc="An open source and minimalistic cloud based on Kotlin"
arch=(any)
depends=('java-runtime>=8' 'gradle')
url="https://github.com/texxme/Kloud"
license=('BSD')
source=(kloud $pkgname-$pkgver.tar.gz::https://github.com/texxme/Kloud/archive/v$pkgver-BETA.tar.gz)

build() {
    cd "$srcdir/Kloud-$pkgver-BETA"
    make all
}

package() {
    cd "$srcdir/Kloud-$pkgver-BETA"

    install -D -m755 "${srcdir}/kloud"         "${pkgdir}/usr/bin/kloud"
    install -D -m644 "${srcdir}/Kloud-$pkgver-BETA/build/libs/kloud-${pkgver}-BETA-all.jar"     "${pkgdir}/usr/share/kloud/kloud-${pkgver}-BETA-all.jar"
}

sha1sums=('SKIP'
          'ec7409412e3eb48191d4672f276a8234f3635a3a')