Skip to content

Instantly share code, notes, and snippets.

@lucaswerkmeister
Created May 15, 2018 20:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lucaswerkmeister/5a4861a427c554d47367ecce2b22b37e to your computer and use it in GitHub Desktop.
Save lucaswerkmeister/5a4861a427c554d47367ecce2b22b37e to your computer and use it in GitHub Desktop.
diff --git a/PKGBUILD b/PKGBUILD
index e36b2a4..7227363 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,8 +8,8 @@ url="http://portablesigner.sourceforge.net/"
license=('EUPL')
depends=('java-runtime>=8')
provides=('portablesigner')
-source=("https://joinup.ec.europa.eu/system/files/project/9d/de/d0/PortableSigner-Generic-${pkgver}.zip"
-"https://joinup.ec.europa.eu/sites/default/files/eupl1.1.-licence-en.pdf")
+source=("https://joinup.ec.europa.eu/sites/default/files/distribution/2013-02/PortableSigner-Generic-${pkgver}.zip"
+"https://joinup.ec.europa.eu/sites/default/files/custom-page/attachment/eupl1.1.-licence-en_0.pdf")
noextract=("PortableSigner-Generic-${pkgver}.zip")
package() {
@@ -47,7 +47,7 @@ package() {
rm ${pkgdir}/usr/share/java/portablesigner/linux-install.sh || return 1
# EUPL License
- install -Dm644 ${srcdir}/eupl1.1.-licence-en.pdf ${pkgdir}/usr/share/licenses/portablesigner/EUPL_v.1.1_-_Licence.pdf || return 1
+ install -Dm644 ${srcdir}/eupl1.1.-licence-en_0.pdf ${pkgdir}/usr/share/licenses/portablesigner/EUPL_v.1.1_-_Licence.pdf || return 1
}
md5sums=('2eb7c2d778d60dd6e906f1772bf3e058'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment