Adjust initial message about configuration for clarity
This commit is contained in:
2
.SRCINFO
2
.SRCINFO
@@ -1,7 +1,7 @@
|
|||||||
pkgbase = st
|
pkgbase = st
|
||||||
pkgdesc = A simple virtual terminal emulator for X.
|
pkgdesc = A simple virtual terminal emulator for X.
|
||||||
pkgver = 0.8.2
|
pkgver = 0.8.2
|
||||||
pkgrel = 5
|
pkgrel = 6
|
||||||
url = http://st.suckless.org
|
url = http://st.suckless.org
|
||||||
arch = i686
|
arch = i686
|
||||||
arch = x86_64
|
arch = x86_64
|
||||||
|
|||||||
2
.gitignore
vendored
2
.gitignore
vendored
@@ -1,4 +1,6 @@
|
|||||||
/*.pkg.tar.xz
|
/*.pkg.tar.xz
|
||||||
|
/config.def.h
|
||||||
|
/config.h
|
||||||
/pkg/
|
/pkg/
|
||||||
/src/
|
/src/
|
||||||
/st-*.tar.gz
|
/st-*.tar.gz
|
||||||
|
|||||||
9
PKGBUILD
9
PKGBUILD
@@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
pkgname=st
|
pkgname=st
|
||||||
pkgver=0.8.2
|
pkgver=0.8.2
|
||||||
pkgrel=5
|
pkgrel=6
|
||||||
pkgdesc='A simple virtual terminal emulator for X.'
|
pkgdesc='A simple virtual terminal emulator for X.'
|
||||||
arch=('i686' 'x86_64' 'armv7h')
|
arch=('i686' 'x86_64' 'armv7h')
|
||||||
license=('MIT')
|
license=('MIT')
|
||||||
@@ -43,9 +43,10 @@ prepare() {
|
|||||||
elif [ ! -e "$BUILDDIR/config.def.h" ]
|
elif [ ! -e "$BUILDDIR/config.def.h" ]
|
||||||
then
|
then
|
||||||
abort=1
|
abort=1
|
||||||
msg='This package can be configured in config.h. Copy provided '
|
msg='This package can be configured in config.h. Copy config.def.h just '
|
||||||
msg+='config.def.h to config.h and modify to change configuration. Leave '
|
msg+='placed into the package directory to config.h and modify it to '
|
||||||
msg+='config.def.h as it is to use default values. Then rerun makepkg.'
|
msg+='change the configuration. Or just leave it alone to use default '
|
||||||
|
msg+='values. Then restart the build process.'
|
||||||
error "$msg"
|
error "$msg"
|
||||||
fi
|
fi
|
||||||
cp "$pkgname-$pkgver/config.def.h" "$BUILDDIR"
|
cp "$pkgname-$pkgver/config.def.h" "$BUILDDIR"
|
||||||
|
|||||||
Reference in New Issue
Block a user