[arch-commits] Commit in eclipse-ecj/trunk (PKGBUILD)
Guillaume Alaux
guillaume at archlinux.org
Wed Oct 26 17:29:33 UTC 2016
Date: Wednesday, October 26, 2016 @ 17:29:32
Author: guillaume
Revision: 279291
Add source file signature check
Modified:
eclipse-ecj/trunk/PKGBUILD
----------+
PKGBUILD | 18 +++++++++++++-----
1 file changed, 13 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-10-26 17:24:46 UTC (rev 279290)
+++ PKGBUILD 2016-10-26 17:29:32 UTC (rev 279291)
@@ -13,15 +13,23 @@
url='http://www.eclipse.org/'
depends=('java-runtime')
makedepends=('apache-ant' 'java-environment')
-source=(http://download.eclipse.org/eclipse/downloads/drops4/R-${pkgver}-${_date}/ecjsrc-${pkgver}.jar
+_base_url=http://download.eclipse.org/eclipse/downloads/drops4
+_sum_file_url=${_base_url}/R-${pkgver}-${_date}/checksum/eclipse-${pkgver}-SUMSSHA512
+_source_file_name=ecjsrc-${pkgver}.jar
+source=(${_base_url}/R-${pkgver}-${_date}/${_source_file_name}
+ ${_sum_file_url}{,.asc}
01-ecj-include-props.patch
02-buildxml-fix-manifest.patch
ecj)
+validpgpkeys=('869FF7E31C98FBCFCF167CDE01D81CA560A48EFD') # Eclipse Project
-sha256sums=('36a664f84b5d2ba2c31dc8b3cf72783a979c9cffe689fbed5c58130f2b269fbc'
- '8f6259c76dfe493549bbaec3c8a7ba29e82c70e127c918adca28737dcb570f6b'
- '5ca6bd94c2b1cb4c6f116d38c160edf1c4ca520647ac74b26486f958254767af'
- '63aff3d126243d303ddc4305cfa77827df72e87ccf85bd8a22a2f832357e396c')
+_source_file_sum=$(curl ${_sum_file_url} | grep -m 1 ${_source_file_name} | cut -d ' ' -f 1)
+sha512sums=(${_source_file_sum}
+ 'ae98861af1ab9d2a90a3d1660700de2c5654a272f1c3d0af0698dc6d1827d3a2e2ccda4690eff706836f87bf0d5e1fbe283121ab41da7087c8618fc3fecb4d27'
+ 'SKIP'
+ '72c8a2437333e8068e60e1a035bf4e5e9b66881fc06936600a6867dc7e4eb4670f94c4b2392634ebb28f85f8fdf88248ccb9cc315717e257ce336b495c2f2d68'
+ '11ca94869d71842401e48acca72fd89e339ba65c81909cf8501bb243457caa21dc659d268b98c42ac77a1834fb7de46138787e8ea0966d96324c8de829fe563c'
+ '1895c12c63262a08a2c889bb1db61308b5cb8846e5f20e584cde6878afd4da5ee051045a61a0a5a4498146a7315c8a14bf120e5d369365f4efc573d371381846')
build() {
cd "${srcdir}"
More information about the arch-commits
mailing list