summaryrefslogtreecommitdiff
path: root/fpc-src-svn/PKGBUILD
diff options
context:
space:
mode:
authorErich Eckner <erich.eckner.ext@bestsecret.com>2024-07-19 15:08:02 +0200
committerErich Eckner <erich.eckner.ext@bestsecret.com>2024-07-19 15:08:17 +0200
commita6c3c48e9e6d627bb3cc66a119148ea48f1180d1 (patch)
tree6d6da239bd8dfe35b876cfbfb6dfe38e368036c4 /fpc-src-svn/PKGBUILD
parent95df0513e374c9af6973671b7f7c89e68de06443 (diff)
downloadarchlinuxewe-a6c3c48e9e6d627bb3cc66a119148ea48f1180d1.tar.xz
remove fpc-svn et al. - they are not needed anymore
Diffstat (limited to 'fpc-src-svn/PKGBUILD')
-rw-r--r--fpc-src-svn/PKGBUILD53
1 files changed, 0 insertions, 53 deletions
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 <arch at eckner dot net>
-# Contributor: L <alaviss 0 at gmail dot com>
-# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
-# Contributor: Valeriy Lyasotskiy <onestep@ukr.net>
-# Contributor: Jan Willemson <janwil@hot.ee>
-# Contributor: Hugo Ideler <hugoideler@dse.nl>
-# Contributor: BlackIkeEagle <ike DOT devolder AT gmail DOT com>
-# Original PKGBUILD: Andre Naumann <anaumann@SPARCed.org>
-# 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/
-}