From c9eb9f5381f48a31621f38d9388c98458287cf97 Mon Sep 17 00:00:00 2001 From: "Sebastian J. Bronner" Date: Wed, 16 Oct 2019 10:24:40 +0200 Subject: Adjust initial message about configuration for clarity --- .SRCINFO | 2 +- .gitignore | 2 ++ PKGBUILD | 9 +++++---- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index dd4e44f..620cc42 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = st pkgdesc = A simple virtual terminal emulator for X. pkgver = 0.8.2 - pkgrel = 5 + pkgrel = 6 url = http://st.suckless.org arch = i686 arch = x86_64 diff --git a/.gitignore b/.gitignore index d59381f..2d32340 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,6 @@ /*.pkg.tar.xz +/config.def.h +/config.h /pkg/ /src/ /st-*.tar.gz diff --git a/PKGBUILD b/PKGBUILD index 7a42a7a..8a0056e 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -5,7 +5,7 @@ pkgname=st pkgver=0.8.2 -pkgrel=5 +pkgrel=6 pkgdesc='A simple virtual terminal emulator for X.' arch=('i686' 'x86_64' 'armv7h') license=('MIT') @@ -43,9 +43,10 @@ prepare() { elif [ ! -e "$BUILDDIR/config.def.h" ] then abort=1 - msg='This package can be configured in config.h. Copy provided ' - msg+='config.def.h to config.h and modify to change configuration. Leave ' - msg+='config.def.h as it is to use default values. Then rerun makepkg.' + msg='This package can be configured in config.h. Copy config.def.h just ' + msg+='placed into the package directory to config.h and modify it to ' + msg+='change the configuration. Or just leave it alone to use default ' + msg+='values. Then restart the build process.' error "$msg" fi cp "$pkgname-$pkgver/config.def.h" "$BUILDDIR" -- cgit v1.2.3