summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Bermond2017-11-05 14:29:19 -0200
committerDaniel Bermond2017-11-05 14:29:19 -0200
commitba4b61d72aafdb0312c487e91824e8c420331a06 (patch)
tree49effb12a083a5e2f207eb430f4d8328b703ea5e
parent69d5b41c5b38925a39c7be848c616404b687bbcb (diff)
downloadaur-ba4b61d72aafdb0312c487e91824e8c420331a06.tar.gz
Switch CPPFLAGS to CFLAGS
Also preserve values already defined by the environsment variable.
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD4
2 files changed, 6 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 174a89d88d46..23da5758ddd3 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
# Generated by mksrcinfo v8
-# Wed Nov 1 14:10:50 UTC 2017
+# Sun Nov 5 16:26:59 UTC 2017
pkgbase = imagemagick-full
pkgver = 7.0.7.9
- pkgrel = 1
+ pkgrel = 2
url = http://www.imagemagick.org/
arch = i686
arch = x86_64
@@ -47,8 +47,8 @@ pkgbase = imagemagick-full
makedepends = libfpx
makedepends = libraqm
makedepends = libumem-git
- source = http://www.imagemagick.org/download/ImageMagick-7.0.7-9.tar.xz
- sha256sums = dc0c7418e20d9f113b3c3ae6903ed89d00a95465bd3f5e15832f3b06593a085c
+ source = http://www.imagemagick.org/download/ImageMagick-7.0.7-10.tar.xz
+ sha256sums = 3ab42a9176670bfc6cef217bff0c27f39e54964fb67ee556bbc01ede8488ace5
pkgname = imagemagick-full
pkgdesc = An image viewing/manipulation program (Q32 HDRI with all libs and features)
diff --git a/PKGBUILD b/PKGBUILD
index 834208fec23f..b6140d31ac77 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -31,7 +31,7 @@ _qdepth='32'
pkgbase=imagemagick-full
pkgname=('imagemagick-full' 'imagemagick-full-doc')
pkgver="$(printf '%s' "$_srcver"| tr '-' '.')" # ImageMagick does not provide a download archive of all previous versions
-pkgrel=1
+pkgrel=2
arch=('i686' 'x86_64')
url='http://www.imagemagick.org/'
license=('custom')
@@ -55,7 +55,7 @@ sha256sums=("$(curl -s "$_digest" | grep -A5 "${_srcname}-${_srcver_regex}\.tar\
build() {
cd "${_srcname}-${_srcver}"
- CPPFLAGS='-I/usr/include/FLIF' \
+ CFLAGS="${CFLAGS} -I/usr/include/FLIF" \
./configure \
--prefix='/usr' \
--sysconfdir='/etc' \