From e53ac5149f38c53ad4f1c982fef6fc721136e323 Mon Sep 17 00:00:00 2001 From: Stefan Huber Date: Fri, 2 Aug 2024 10:30:32 +0200 Subject: [PATCH] app-text/shrinkpdf: Add version shrinkpdf-1.2 --- app-text/shrinkpdf/Manifest | 4 +++- app-text/shrinkpdf/shrinkpdf-1.2.ebuild | 1 + app-text/shrinkpdf/shrinkpdf-9999.ebuild | 12 +++++++----- 3 files changed, 11 insertions(+), 6 deletions(-) create mode 120000 app-text/shrinkpdf/shrinkpdf-1.2.ebuild diff --git a/app-text/shrinkpdf/Manifest b/app-text/shrinkpdf/Manifest index 123417b..da86f89 100644 --- a/app-text/shrinkpdf/Manifest +++ b/app-text/shrinkpdf/Manifest @@ -1 +1,3 @@ -EBUILD shrinkpdf-9999.ebuild 862 BLAKE2B 72c434cb6ac88861810646d74d359296ec97e64914fb7d60e8c0a8125aa8603d0c8ddcbdc6e8c4f06871f52f6cde04063bb6782ec4fafd5d1094cff8a05f1274 SHA512 8fd2fb22a0b06b64078759aedc9602d5d43195f7f8ba314d57f13da8d72b65a98af66a6146abb05c8af8ea95eec999666da2e4d4d986560326eb00573c670f12 +DIST shrinkpdf-1.2.tar.gz 4034 BLAKE2B c3ba11fefff7a40df9802f430df9c75ccbdd93c52ea89026db0030056fbaa748dc9dc942e3cf043dcb78ee97b75ad41acff9949383f9624fdd88a65da46556cf SHA512 e188fcd04198b18782ecccdf8fb40ffba44b5d4c1b0a734ea0e9e2ca4e28724ab10652ee0440839e47fb80d60f3e65067fc26d027c5c131dc3f9a2d5da03e8df +EBUILD shrinkpdf-1.2.ebuild 889 BLAKE2B cb708669c53a10bcb9f7be092156f0dcc5999f9f86f58561725f29231a2eac896e134d0a3473c7325aef56a9d4c6ad789a1e500b6e27edbe974a631a09d13820 SHA512 28b43efbe7fc0d459705e2da30e01cb55c828ee7ce557f845e0f4b68ee53b9c521eef66356ea58def09d946261281a1a5ec9756d8dd0528d65b6ba5d6e6ab4c9 +EBUILD shrinkpdf-9999.ebuild 889 BLAKE2B cb708669c53a10bcb9f7be092156f0dcc5999f9f86f58561725f29231a2eac896e134d0a3473c7325aef56a9d4c6ad789a1e500b6e27edbe974a631a09d13820 SHA512 28b43efbe7fc0d459705e2da30e01cb55c828ee7ce557f845e0f4b68ee53b9c521eef66356ea58def09d946261281a1a5ec9756d8dd0528d65b6ba5d6e6ab4c9 diff --git a/app-text/shrinkpdf/shrinkpdf-1.2.ebuild b/app-text/shrinkpdf/shrinkpdf-1.2.ebuild new file mode 120000 index 0000000..04a87d1 --- /dev/null +++ b/app-text/shrinkpdf/shrinkpdf-1.2.ebuild @@ -0,0 +1 @@ +shrinkpdf-9999.ebuild \ No newline at end of file diff --git a/app-text/shrinkpdf/shrinkpdf-9999.ebuild b/app-text/shrinkpdf/shrinkpdf-9999.ebuild index 65f5c63..846b895 100644 --- a/app-text/shrinkpdf/shrinkpdf-9999.ebuild +++ b/app-text/shrinkpdf/shrinkpdf-9999.ebuild @@ -12,16 +12,18 @@ GITHUBUSER="aklomp" if [[ ${PV} == *9999 ]]; then EGIT_REPO_URI="https://github.com/${GITHUBUSER}/${PN}.git" inherit git-r3 -elif [[ ${PV} == *_p* ]]; then - SRC_URI="https://github.com/${GITHUBUSER}/${PN}/archive/${COMMIT_ID}.tar.gz -> ${P}.tar.gz" - S="${WORKDIR}/${PN}-${COMMIT_ID}" else - SRC_URI="https://github.com/${GITHUBUSER}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~x86" + if [[ ${PV} == *_p* ]]; then + SRC_URI="https://github.com/${GITHUBUSER}/${PN}/archive/${COMMIT_ID}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/${PN}-${COMMIT_ID}" + else + SRC_URI="https://github.com/${GITHUBUSER}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + fi fi LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 x86" IUSE="" RDEPEND=" -- 2.39.5