summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: cf19ed238553f5f514c2f90f692ff45a0a1128b2 (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
26
27
28
29
30
31
# Maintainer: Kilian "CaféHaine" GUILLAUME <kilian.guillaume@gmail.com>

pkgname=d8
pkgver=8.9
pkgrel=1
_commit=eaf64f278dd6de99cc2963842e99f718a894e596
pkgdesc='D8 is a dexer that converts java byte code to dex code.'
url='https://gitlab.com/android_translation_layer/d8'
arch=(any)
license=('Apache-2.0')
depends=()
makedepends=(
  jdk11-openjdk
  gradle
  protobuf
)
options=()
source=("${pkgname}-${_commit}::${url}/-/archive/${_commit}/${pkgname}-${_commit}.tar.gz")
sha256sums=('c93e9989df4cea340386f1888e81dce8cdba1692c6ec47ba4bb695054bcc0e97')

build() {
  cd "${pkgname}-${_commit}"
  make PREFIX=/usr
}

package() {
  cd "${pkgname}-${_commit}"
  make \
    PREFIX="$pkgdir"/usr \
    install
}