summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Severance2017-01-05 20:45:26 -0500
committerChris Severance2017-01-05 20:45:26 -0500
commitff9b6854192cbe351b2ffba2d6378fa7b857f826 (patch)
tree48a9798805c6a9b67b194f8af6d0ccdd90ad1638
parentab5b242789251e7c341801bf7a8f7cceaf21e1eb (diff)
downloadaur-ff9b6854192cbe351b2ffba2d6378fa7b857f826.tar.gz
Update to 2.2.1 mid release
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD39
2 files changed, 33 insertions, 22 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 6731102f12e8..315dec89b498 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,23 +1,23 @@
+# Generated by mksrcinfo v8
+# Fri Jan 6 01:45:05 UTC 2017
pkgbase = cpdf
pkgdesc = Coherent PDF and smpdf to manipulate PDF files including merge, encrypt, decrypt, scale, crop, rotate, bookmarks, stamp, logos, page numbers
pkgver = 2.1.1
- pkgrel = 1
+ pkgrel = 2
url = http://community.coherentpdf.com
arch = x86_64
arch = i686
license = custom
- makedepends = coreutils
- makedepends = binutils
makedepends = ocaml
makedepends = ocaml-findlib
- depends = camlpdf
+ depends = camlpdf>=2.2a
conflicts = cpdf-bin
options = !makeflags
options = staticlibs
- source = cpdf-source-v2.1.1.tar.gz::https://github.com/johnwhitington/cpdf-source/archive/v2.1.1.tar.gz
- source = cpdf-binaries-master.zip::https://github.com/coherentgraphics/cpdf-binaries/archive/master.zip
- sha256sums = 00a3c8b6f1ff60feff7d0b72c095befb576c08edc35ffee28a4d3a24ad599956
- sha256sums = d76999dc379f5bc74c20f3938d0a6bb41c4e4c6ca8042c29ac8bb3c1df9a0e2b
+ source = cpdf-binaries-2.1.1.tar.gz.tar.gz::https://github.com/coherentgraphics/cpdf-binaries/archive/17372d86935f7541ae0bc7ff0b9eebb721af0cb0.tar.gz
+ source = cpdf-source-8d1ee91bd2390a6eacbc087983d8afec263182db.tar.gz::https://github.com/johnwhitington/cpdf-source/archive/8d1ee91bd2390a6eacbc087983d8afec263182db.tar.gz
+ sha256sums = 55a0de2b225413d7cda3784e6336f40f707a31b8f018c1cd24a8396df9dda65f
+ sha256sums = 01c9c2534726331c93bc74cf1c5e59d9eb69105c21ad3a6a7d2fcddd28a58de0
pkgname = cpdf
diff --git a/PKGBUILD b/PKGBUILD
index f8fcc6fae92c..05c0e8bbaa46 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -21,24 +21,35 @@
set -u
_pkgname='cpdf'
pkgname="${_pkgname}"
-pkgver=2.1.1
-pkgrel=1
+pkgver=2.1.1; _pkghash='17372d86935f7541ae0bc7ff0b9eebb721af0cb0'
+pkgrel=2
pkgdesc='Coherent PDF and smpdf to manipulate PDF files including merge, encrypt, decrypt, scale, crop, rotate, bookmarks, stamp, logos, page numbers'
arch=('x86_64' 'i686')
+url='http://community.coherentpdf.com'
license=('custom')
-url="http://community.coherentpdf.com"
-depends=('camlpdf')
-makedepends=('coreutils' 'binutils') # install, strip
-makedepends+=('ocaml' 'ocaml-findlib')
-options=('!makeflags' 'staticlibs')
+depends=('camlpdf>=2.2a')
+makedepends=('ocaml' 'ocaml-findlib')
conflicts=('cpdf-bin') # temporary
-_srcdir="${_pkgname}-source-${pkgver}"
-_srcdirmast="${_pkgname}-binaries-master"
-_verwatch=("${url}/releases" "${url#*github.com}/archive/v\(.*\)\.tar\.gz" 'l')
-source=("${_pkgname}-source-v${pkgver}.tar.gz::https://github.com/johnwhitington/${_pkgname}-source/archive/v${pkgver}.tar.gz"
- "${_srcdirmast}.zip::https://github.com/coherentgraphics/cpdf-binaries/archive/master.zip")
-sha256sums=('00a3c8b6f1ff60feff7d0b72c095befb576c08edc35ffee28a4d3a24ad599956'
- 'd76999dc379f5bc74c20f3938d0a6bb41c4e4c6ca8042c29ac8bb3c1df9a0e2b')
+options=('!makeflags' 'staticlibs')
+
+#_srcdirmast="${_pkgname}-binaries-master"; _srcmastname="${_srcdirmast}"
+_srcdirmast="${_pkgname}-binaries-${_pkghash}"; _srcmastname="${_pkgname}-binaries-${pkgver}.tar.gz"
+unset _pkghash
+
+#_srcfile="v${pkgver}"
+#_srcfile='master'
+_srcfile='8d1ee91bd2390a6eacbc087983d8afec263182db'
+_srcdir="${_pkgname}-source-${_srcfile#v}"; _srcdirname="${_srcdir}"
+
+_giturl="https://github.com/johnwhitington/${_pkgname}-source"
+_verwatch=("${_giturl}/releases" "${_giturl#*github.com}/archive/v\(.*\)\.tar\.gz" 'l')
+source=(
+ "${_srcmastname}.tar.gz::https://github.com/coherentgraphics/cpdf-binaries/archive/${_srcdirmast##*-}.tar.gz"
+ "${_srcdirname}.tar.gz::${_giturl}/archive/${_srcfile}.tar.gz"
+)
+unset _srcfile _srcmastname _srcdirname
+sha256sums=('55a0de2b225413d7cda3784e6336f40f707a31b8f018c1cd24a8396df9dda65f'
+ '01c9c2534726331c93bc74cf1c5e59d9eb69105c21ad3a6a7d2fcddd28a58de0')
_pkgver_disabled() {
set -u