summaryrefslogtreecommitdiff
path: root/fpc-svn/PKGBUILD
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2021-04-20 10:57:33 +0200
committerErich Eckner <git@eckner.net>2021-04-20 10:57:33 +0200
commitfacbe3ed201c8607f9bebfb6b039c96ae1932ce0 (patch)
tree863e863c61ef00ac44ead9f25a99ecb3a10da516 /fpc-svn/PKGBUILD
parenta86b4b77fa5ff4311b6ee8da2a22443b917fd811 (diff)
downloadarchlinuxewe-facbe3ed201c8607f9bebfb6b039c96ae1932ce0.tar.xz
fpc-svn: 38680_refined_htypechk.pas-2.patch neu
Diffstat (limited to 'fpc-svn/PKGBUILD')
-rw-r--r--fpc-svn/PKGBUILD13
1 files changed, 10 insertions, 3 deletions
diff --git a/fpc-svn/PKGBUILD b/fpc-svn/PKGBUILD
index 442f14b2c..d8000a45d 100644
--- a/fpc-svn/PKGBUILD
+++ b/fpc-svn/PKGBUILD
@@ -17,7 +17,7 @@ pkgname=('fpc-svn' 'fpc-src-svn')
pkgver=3.3.1.r49233
_pkgver="${pkgver%.r*}"
_revision="${pkgver##*.r}"
-pkgrel=1
+pkgrel=2
arch=('i486' 'i686' 'pentium4' 'x86_64')
url='http://www.freepascal.org/'
license=('GPL' 'LGPL' 'custom')
@@ -26,8 +26,10 @@ depends=('bash' 'ncurses' 'zlib' 'expat')
makedepends=('fpc' 'subversion')
[[ $_build_docs -ne 0 ]] && makedepends+=('texlive-core' 'texlive-htmlxml'
'texlive-latexextra' 'ghostscript')
-source=('fpcbuild::svn+http://svn.freepascal.org/svn/fpcbuild/trunk#revision='"${_revision}")
-sha512sums=('SKIP')
+source=('38680_refined_htypechk.pas-2.patch'
+'fpcbuild::svn+http://svn.freepascal.org/svn/fpcbuild/trunk#revision='"${_revision}")
+sha512sums=('583e26eca23d4fde9b6dc163c8e97cd5f271ca98e38560e0da0b79d30652a876f5c66e4b7c2ea32b429f34855b1cdc48987f4fd7bb7cf63eeafcbb6a08ee9693'
+ 'SKIP')
pkgver() {
cd "${srcdir}"/fpcbuild/fpcsrc
@@ -36,6 +38,11 @@ pkgver() {
$(svnversion | tr -d [A-z])
}
+prepare() {
+ cd "${srcdir}"/fpcbuild/fpcsrc
+ patch -p0 -i "${srcdir}/38680_refined_htypechk.pas-2.patch"
+}
+
build() {
cd "${srcdir}"/fpcbuild
pushd fpcsrc/compiler