summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authornl67202020-02-18 17:16:21 +0200
committernl67202020-02-18 17:18:11 +0200
commit266c30fc925a86030b7335d2742d86b716e76b5e (patch)
tree34e459cefd22d99008a2706ecc174a151761a500 /PKGBUILD
parent80137367b27617fcdd9266fdb31e4e707a5d36a9 (diff)
downloadaur-gptfdisk-git.tar.gz
Use the same sed command as the official package
https://git.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/gptfdisk&id=49335b4bab5ba4746135201890a871dfaeb92b20
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 9b5f8c4605bd..d6dea0e29aad 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -27,7 +27,8 @@ pkgver() {
prepare() {
cd "${srcdir}/${pkgname%-git}"
- sed 's|#include <ncursesw/ncurses.h>|#include <ncurses.h>|' -i "${srcdir}/${pkgname%-git}/gptcurses.cc"
+ # https://sourceforge.net/p/gptfdisk/discussion/939590/thread/bc29ca06f8/
+ sed -i '/^#include /s|ncursesw/||' gptcurses.cc
}
build() {