summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Boeckstaens2021-09-17 09:04:26 +0200
committerTim Boeckstaens2021-09-17 09:04:26 +0200
commit4f521e74a8484f3229073bfb561eb4f1a1486903 (patch)
tree409bb60e42c649938a45200ba33d78b4d140f746
downloadaur-4f521e74a8484f3229073bfb561eb4f1a1486903.tar.gz
Amazon Corretto 17.0.0.35.1
-rw-r--r--.SRCINFO19
-rw-r--r--PKGBUILD23
2 files changed, 42 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..8c7faf75d16
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+pkgbase = amazon-corretto-17
+ pkgdesc = No-cost, multiplatform, production-ready distribution of OpenJDK
+ pkgver = 17.0.0.35.1
+ pkgrel = 1
+ url = https://aws.amazon.com/corretto/
+ arch = x86_64
+ license = GPL2
+ depends = java-runtime-common
+ depends = java-environment-common
+ provides = java-runtime-headless=17
+ provides = java-runtime=17
+ provides = java-environment=17
+ source = https://corretto.aws/downloads/resources/17.0.0.35.1/amazon-corretto-17.0.0.35.1-linux-x64.tar.gz
+ source = https://corretto.aws/downloads/resources/17.0.0.35.1/amazon-corretto-17.0.0.35.1-linux-x64.tar.gz.sig
+ validpgpkeys = 6DC3636DAE534049C8B94623A122542AB04F24E3
+ md5sums = e658fcede95579a2ffb1fa429c56d69c
+ md5sums = SKIP
+
+pkgname = amazon-corretto-17
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..aaea173a92f
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,23 @@
+pkgname=amazon-corretto-17
+pkgver=17.0.0.35.1
+pkgrel=1
+pkgdesc='No-cost, multiplatform, production-ready distribution of OpenJDK'
+arch=('x86_64')
+url='https://aws.amazon.com/corretto/'
+license=('GPL2')
+depends=('java-runtime-common' 'java-environment-common')
+provides=('java-runtime-headless=17' 'java-runtime=17' 'java-environment=17')
+backup=()
+options=()
+# https://docs.aws.amazon.com/corretto/latest/corretto-17-ug/downloads-list.html
+source=("https://corretto.aws/downloads/resources/${pkgver}/amazon-corretto-${pkgver}-linux-x64.tar.gz"{,.sig})
+validpgpkeys=('6DC3636DAE534049C8B94623A122542AB04F24E3') # Amazon Services LLC (Amazon Corretto release) <corretto-team@amazon.com>
+
+package() {
+ mkdir -p "$pkgdir/usr/lib/jvm"
+ cp -a "amazon-corretto-$pkgver-linux-x64" "$pkgdir/usr/lib/jvm/java-17-amazon-corretto"
+}
+
+md5sums=('e658fcede95579a2ffb1fa429c56d69c'
+ 'SKIP')
+