From a6c3c48e9e6d627bb3cc66a119148ea48f1180d1 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Fri, 19 Jul 2024 15:08:02 +0200 Subject: remove fpc-svn et al. - they are not needed anymore --- fpc-src-svn/PKGBUILD | 53 ---------------------------------------------------- 1 file changed, 53 deletions(-) delete mode 100644 fpc-src-svn/PKGBUILD (limited to 'fpc-src-svn/PKGBUILD') diff --git a/fpc-src-svn/PKGBUILD b/fpc-src-svn/PKGBUILD deleted file mode 100644 index 3f3fb13a5..000000000 --- a/fpc-src-svn/PKGBUILD +++ /dev/null @@ -1,53 +0,0 @@ -# Maintainer: Erich Eckner -# Contributor: L -# Contributor: Sergej Pupykin -# Contributor: Valeriy Lyasotskiy -# Contributor: Jan Willemson -# Contributor: Hugo Ideler -# Contributor: BlackIkeEagle -# Original PKGBUILD: Andre Naumann -# See http://bbs.archlinux.org/viewtopic.php?t=9318&highlight=fpc - -pkgname='fpc-src-svn' -pkgver=3.3.1.r15754.5bdef935 -_pkgver="${pkgver%.r*}" -_commit="${pkgver##*.}" -pkgrel=1 -arch=('i486' 'i686' 'pentium4' 'x86_64') -url='http://www.freepascal.org/' -license=('GPL' 'LGPL' 'custom') -depends=() -makedepends=('git') -pkgdesc='Sources for the Free Pascal Compiler (required by the Lazarus IDE)' -options=('!strip') -conflicts=('fpc-src') -provides=("fpc-src=${pkgver}") - -source=('git+https://gitlab.com/freepascal.org/fpc/source.git#commit='"${_commit}") -sha512sums=('03158b365a62f001dbfc7af5286bde227096d9672dab82f76f7c8724e04a2f952f827690c8b1c9fca948cb15b3bf4b46b20ed91252b0aacf80546e02e1d018d4') - -pkgver() { - cd "${srcdir}"/source - last_version=$( - git tag \ - | grep '^[0-9.]\+$' \ - | sort -V \ - | tail -n1 - ) - _commit=$( - git rev-parse "${_commit}" \ - | cut -c1-8 - ) - revision=$( - git rev-list --count "${_commit}" "^${last_version}" - ) - printf '%s.r%s.%s' \ - "${last_version}" \ - "${revision}" \ - "${_commit}" -} - -package() { - install -dm755 "${pkgdir}"/usr/lib/fpc/src - mv "${srcdir}"/source/* "${pkgdir}"/usr/lib/fpc/src/ -} -- cgit v1.2.3-70-g09d2