summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian J. Bronner2019-10-16 10:24:40 +0200
committerSebastian J. Bronner2019-10-16 10:24:40 +0200
commitc9eb9f5381f48a31621f38d9388c98458287cf97 (patch)
tree4fa27307193f8249165b8d79201b0927f3bb416a
parent0414f6257ae527171d21ee67ab10ab4562aff827 (diff)
downloadaur-c9eb9f5381f48a31621f38d9388c98458287cf97.tar.gz
Adjust initial message about configuration for clarity
-rw-r--r--.SRCINFO2
-rw-r--r--.gitignore2
-rw-r--r--PKGBUILD9
3 files changed, 8 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index dd4e44f13d8..620cc428136 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 d59381f1f5a..2d32340cf5c 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 7a42a7ac4cd..8a0056ea6c5 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"