summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorHyacinthe Cartiaux2016-02-23 20:55:44 +0100
committerHyacinthe Cartiaux2016-02-23 20:55:44 +0100
commitedf3eaac15e9bcfce549a00511249d1d5e63f1ed (patch)
tree9ff5e6b1b478dfb434aa24a71a8387ee76fe6d7e /PKGBUILD
parentab053fc654222524d75e07812ce1c3d623e499e6 (diff)
downloadaur-edf3eaac15e9bcfce549a00511249d1d5e63f1ed.tar.gz
Pkgrel bump: use MYCFLAGS and MYLDFLAGS
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD5
1 files changed, 4 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 763c9d6ebd50..25299e28a301 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@
pkgname=imapfilter
pkgver=2.6.6
-pkgrel=1
+pkgrel=2
pkgdesc="A mail filtering utility for processing IMAP mailboxes"
arch=('i686' 'x86_64' 'armv6h' 'armv7h')
url="https://github.com/lefcha/imapfilter"
@@ -22,6 +22,9 @@ build() {
# in that case, uncomment next line.
# LDFLAGS="-Wl,--hash-style=gnu -Wl"
+ sed -i "s/MYCFLAGS =/MYCFLAGS=${CFLAGS}/" src/Makefile
+ sed -i "s/MYLDFLAGS =/MYLDFLAGS=${LDFLAGS}/" src/Makefile
+
make PREFIX=/usr all
}