community/fpc to 3.2.0-1

This commit is contained in:
Kevin Mihelich 2020-06-28 17:01:22 +00:00
parent 2e90271701
commit e504e91092

View file

@ -11,8 +11,8 @@
# - build for armhf on v6/v7
pkgname=fpc
pkgver=3.0.4
pkgrel=6
pkgver=3.2.0
pkgrel=1
pkgdesc="Free Pascal Compiler, Turbo Pascal 7.0 and Delphi compatible."
arch=('x86_64')
url="http://www.freepascal.org/"
@ -23,7 +23,7 @@ makedepends=(fpc)
options=(zipman staticlibs)
validpgpkeys=('F40ADB902B24264AA42E50BF92EDB04BFF325CF3')
source=(ftp://ftp.freepascal.org/pub/fpc/dist/$pkgver/source/fpcbuild-$pkgver.tar.gz)
sha256sums=('f66514e6f2c2e4e1bccccb4d554c24b77682ed61c87811ae5dd210f421855e76')
sha256sums=('f9b914eace989a023fb953da203dc0d973b44487568b4138c7d5b9613d7d6838')
build() {
cd "$srcdir"/fpcbuild-$pkgver
@ -57,6 +57,4 @@ package() {
mv "$pkgdir"/usr/man "$pkgdir"/usr/share/
find "$pkgdir"/etc/ -type f -exec sed -i "s|"$pkgdir"||g" {} \;
sed -e "s|$pkgdir||g" -i "$pkgdir/usr/lib/fpc/$pkgver/ide/text/fp.cfg"
}