patch for patches

This commit is contained in:
Vincent Grande
2020-05-13 13:00:09 -04:00
parent 6269707d77
commit eb84afa9ef
3 changed files with 476 additions and 2 deletions

View File

@@ -5,7 +5,7 @@
# Contributor: Christoph Vigano <mail@cvigano.de>
pkgname=st-git
pkgver=0.8.3.r6.g914fb82
pkgver=0.8.3.r9.g045a0fa
pkgrel=1
pkgdesc='A simple virtual terminal emulator for X.'
arch=('i686' 'x86_64' 'armv7h')
@@ -31,6 +31,14 @@ pkgver() {
prepare() {
echo 'Applying patches from $startdir if they exist...'
if [ -d "${startdir}/patches" ]; then
for patch in ${startdir}/patches/*.diff; do
echo "Applying $patch ..."
git apply "$patch"
done;
fi;
# This package provides a mechanism to provide a custom config.h. Multiple
# configuration states are determined by the presence of two files in
# $BUILDDIR: