summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD5
2 files changed, 5 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 869910afacc4..b63f6a88e945 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = pmus-git
pkgdesc = Practical Music Search is a highly configurable, ncurses-based client for MPD
pkgver = 0.42.r401.g318d75a
- pkgrel = 1
+ pkgrel = 2
url = https://ambientsound.github.io/pms
arch = x86_64
license = GPL
diff --git a/PKGBUILD b/PKGBUILD
index 7c537a726228..8accb8c2f4e1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=pmus-git
pkgver=0.42.r401.g318d75a
-pkgrel=1
+pkgrel=2
pkgdesc="Practical Music Search is a highly configurable, ncurses-based client for MPD"
arch=('x86_64')
url="https://ambientsound.github.io/pms"
@@ -24,6 +24,9 @@ build() {
CFLAGS=${CFLAGS/-Werror=format-security/}
CXXFLAGS=${CXXFLAGS/-Werror=format-security/}
+ CFLAGS=${CFLAGS/-Werror=format-truncation/}
+ CXXFLAGS=${CXXFLAGS/-Werror=format-truncation/}
+
cmake -B build -S $pkgname -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_PREFIX=/usr -Wno-dev
make -C build
}