summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorwillemw122022-01-09 20:08:54 +0100
committerwillemw122022-01-09 20:08:54 +0100
commit6edc731d8d0b7c029445dd1e3582cd0ffc6c0884 (patch)
treea7b30e918b9b088a5fcec593325f76f75642fadd /PKGBUILD
parentf9b67f5529fcfeb4b8613b8143d817a3ff9bd36c (diff)
downloadaur-vimpc-git.tar.gz
Patch -Werror=format-security build error
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD8
1 files changed, 5 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 3f76c482a631..3b09f21d9263 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=vimpc-git
pkgver=0.09.2.r8.gc518610
-pkgrel=1
+pkgrel=2
pkgdesc="Vi/vim inspired client for Music Player Daemon (MPD)"
arch=('x86_64')
url="https://github.com/boysetsfrog/vimpc"
@@ -21,11 +21,13 @@ pkgver() {
}
build() {
+ cd $pkgname
+
+ ./autogen.sh
+
CFLAGS=${CFLAGS/-Werror=format-security/}
CXXFLAGS=${CXXFLAGS/-Werror=format-security/}
- cd $pkgname
- ./autogen.sh
./configure --prefix=/usr
make
}