From fd79b2ee02da37a265d8b37e20d7cc08f40bd1e1 Mon Sep 17 00:00:00 2001 From: Denis 'GNUtoo' Carikli Date: Tue, 24 Aug 2021 05:32:13 +0200 Subject: pcr: Remove proguard The proguard PKGBUILD doesn't provide any source code for proguard, and the Aur package it is based on doesn't either. This is an issue for GPLv2 compliance as well as a practical one: we cannot patch the software if we need to. As for the packages that depend on proguard, the android-sdk package depends on it. However, as far as I know the android-sdk package is a work in progress that didn't progress much since 2018. According to the commit that added it in pcr-testing: commit d424f0813c7bee07cdea2b6863540e1b84abfb0d addpkg: pcr-testing/android-sdk-meta Inspired from https://blog.replicant.us/2017/04/there-wont-be-a-replicant-6-0-sdk-because-there-is-already-something-better/ I used the Debian sources since they are fully-free, but I still need to add the API level 23 to build an app, and then move this to [pcr] So if someone really wants proguard and/or the android-sdk in Parabola, the solution is to make sure that proguard is built from source somehow. In #parabola in liberachat, bill-auger also agreed with me to the removal of proguard until a way to build it from source is found. Signed-off-by: Denis 'GNUtoo' Carikli --- pcr/proguard/PKGBUILD | 37 ------------------------------------- 1 file changed, 37 deletions(-) delete mode 100644 pcr/proguard/PKGBUILD diff --git a/pcr/proguard/PKGBUILD b/pcr/proguard/PKGBUILD deleted file mode 100644 index 2c9e56ec6..000000000 --- a/pcr/proguard/PKGBUILD +++ /dev/null @@ -1,37 +0,0 @@ -# Maintainer (AUR): Bleuzen -# Maintainer: David P. - -pkgname=proguard -_pkgver=6.0 -pkgver=$_pkgver.3 -pkgrel=1 -pkgdesc="Free Java class file shrinker, optimizer, obfuscator, and preverifier" -arch=(any) -url="http://proguard.sourceforge.net/" -license=('GPL2') -depends=('java-runtime') -source=(https://downloads.sourceforge.net/project/proguard/proguard/$_pkgver/proguard$pkgver.tar.gz) -sha256sums=('db175575313d11eb75a3ab68c079123d2787529b63c5cb434b1f653ececb3e48') - -package() { - cd "$srcdir/$pkgname$pkgver/lib" - - mkdir -p "$pkgdir"/usr/bin - mkdir -p "$pkgdir"/usr/share/proguard - install -D -m0644 proguardgui.jar proguard.jar retrace.jar "$pkgdir"/usr/share/proguard/ - - cat >"$pkgdir"/usr/bin/proguardgui <"$pkgdir"/usr/bin/proguard <