diff options
author | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2021-08-24 05:32:13 +0200 |
---|---|---|
committer | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2021-08-24 05:54:11 +0200 |
commit | fd79b2ee02da37a265d8b37e20d7cc08f40bd1e1 (patch) | |
tree | 668f7f73e9bc47d045ca10297c7e925e197d96d8 /pcr/proguard | |
parent | 211a6bf940188f5bc305c7390111cc92e3fc0e0b (diff) | |
download | abslibre-fd79b2ee02da37a265d8b37e20d7cc08f40bd1e1.tar.gz abslibre-fd79b2ee02da37a265d8b37e20d7cc08f40bd1e1.tar.bz2 abslibre-fd79b2ee02da37a265d8b37e20d7cc08f40bd1e1.zip |
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 <GNUtoo@cyberdimension.org>
Diffstat (limited to 'pcr/proguard')
-rw-r--r-- | pcr/proguard/PKGBUILD | 37 |
1 files changed, 0 insertions, 37 deletions
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 <supgesu at gmail dot com> -# Maintainer: David P. <megver83@parabola.nu> - -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 <<EOF -#!/bin/sh -exec java -jar /usr/share/proguard/proguardgui.jar \$* -EOF - chmod 0755 "$pkgdir"/usr/bin/proguardgui - - cat >"$pkgdir"/usr/bin/proguard <<EOF -#!/bin/sh -exec java -jar /usr/share/proguard/proguard.jar \$* -EOF - chmod 0755 "$pkgdir"/usr/bin/proguard - - # FS#36268 - ln -s . "$pkgdir"/usr/share/proguard/lib -} |