summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorRohn Chatterjee2023-06-20 11:58:24 +0530
committerRohn Chatterjee2023-06-20 11:58:24 +0530
commitfd6d97c6f0e15792eb6127e15c9c3fc1d00aa097 (patch)
tree009a818484bb1933bf9a406010c3f1a13f014c9f /PKGBUILD
parent1264a5c2820d92ca7bc05c032020c7226c1bb880 (diff)
downloadaur-cpdf-bin.tar.gz
added back _pkgname.
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD8
1 files changed, 4 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index aad82dd56e30..8290213f3200 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=cpdf-bin
pkgver=2.5.1
-pkgrel=1
+pkgrel=2
pkgdesc='Coherent PDF commandline tool binary to manipulate PDF files including merge, encrypt, decrypt, scale, crop, rotate, bookmarks, stamp, logos, page numbers, compress, etc.'
arch=('x86_64' 'i686')
url='http://community.coherentpdf.com'
@@ -12,12 +12,12 @@ depends=()
makedepends=('coreutils')
provides=('cpdf')
conflicts=('cpdf')
-
+_pkgname=${pkgname%-bin}
[ "$CARCH" = "x86_64" ] && carch_path="Linux-Intel-64bit"
[ "$CARCH" = "i686" ] && carch_path="Linux-Intel-32bit"
-source=("https://github.com/coherentgraphics/cpdf-binaries/archive/refs/tags/v2.5.1.tar.gz")
-sha256sums=("d6dea9050d055f90917afe75d244a7b7b6b6bb2f52da466bc06f3ead08a3e2d6")
+source=("https://github.com/coherentgraphics/cpdf-binaries/archive/refs/tags/v$pkgver.tar.gz")
+sha256sums=('d6dea9050d055f90917afe75d244a7b7b6b6bb2f52da466bc06f3ead08a3e2d6')
package() {
cd "$srcdir/cpdf-binaries-$pkgver" || return 1