From 7d60f0e7c551d0a1e6166a57a494d2ad66dedff5 Mon Sep 17 00:00:00 2001 From: juergen Date: Sat, 11 Dec 2021 13:21:57 +0000 Subject: [PATCH] upgpkg: bigloo 4.4c_2-1 git-svn-id: file:///srv/repos/svn-packages/svn@431863 eb2447ed-0c53-47e4-bac8-5bc4a241df78 --- bigloo/trunk/PKGBUILD | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/bigloo/trunk/PKGBUILD b/bigloo/trunk/PKGBUILD index ed1df0b92cc..4bd0607cbf7 100644 --- a/bigloo/trunk/PKGBUILD +++ b/bigloo/trunk/PKGBUILD @@ -3,7 +3,8 @@ # Contributor: Kevin Piche pkgname=bigloo -pkgver=4.4a +pkgver=4.4c_2 +_src_ver=${pkgver/_/-} pkgrel=1 pkgdesc="Fast scheme compiler" arch=('x86_64') @@ -13,17 +14,17 @@ depends=('gmp' 'openssl' 'libunistring' 'libnsl' 'gc' 'libuv') makedepends=('emacs' 'zip' 'sqlite' 'alsa-lib' 'flac' 'avahi' 'chrpath') optdepends=('emacs' 'zip' 'sqlite' 'alsa-lib' 'flac' 'avahi') options=('!makeflags') -source=("ftp://ftp-sop.inria.fr/indes/fp/Bigloo/${pkgname}-${pkgver}.tar.gz") -sha256sums=('9159f323054fb45849f5de8f569d29245e4d7b10a5ac0b3ab352fb48ac52fc1c') +source=("ftp://ftp-sop.inria.fr/indes/fp/Bigloo/${pkgname}-${_src_ver}.tar.gz") +sha256sums=('3e139639812f7cf9293e77ce250311a38a4a2cac516a7bfb38f964a06ef3300c') elisp_dir=/usr/share/emacs/site-lisp/bigloo prepare() { - sed -i 's/$(GCLIB)/c/' "${srcdir}/${pkgname}-${pkgver}/configure" + sed -i 's/$(GCLIB)/c/' "${srcdir}/${pkgname}-${_src_ver}/configure" } build() { - cd "${srcdir}/${pkgname}-${pkgver}" + cd "${srcdir}/${pkgname}-${_src_ver}" ./configure --prefix=/usr \ --docdir=/usr/share/doc/bigloo \ --mandir=/usr/share/man \ @@ -45,12 +46,12 @@ build() { } check() { - cd "${srcdir}/${pkgname}-${pkgver}" + cd "${srcdir}/${pkgname}-${_src_ver}" make test } package() { - cd "${srcdir}/${pkgname}-${pkgver}" + cd "${srcdir}/${pkgname}-${_src_ver}" make DESTDIR="${pkgdir}" install install-bee make -C manuals DESTDIR="${pkgdir}" install-bee @@ -58,11 +59,11 @@ package() { # Remove references to the build root sed -e "s|^BOOTDIR=.*|BOOTDIR=/usr|g" \ -e "s|^BOOTBINDIR=.*|BOOTBINDIR=/usr/bin|g" \ - -e "s|^BOOTLIBDIR=.*|BOOTLIBDIR=/usr/lib/bigloo/${pkgver}|g" \ + -e "s|^BOOTLIBDIR=.*|BOOTLIBDIR=/usr/lib/bigloo/${_src_ver}|g" \ -e "s|^BGLBUILDBINDIR=.*|BGLBUILDBINDIR=/usr/bin|g" \ - -e "s|^BGLBUILDLIBDIR=.*|BGLBUILDLIBDIR=/usr/lib/bigloo/${pkgver}|g" \ + -e "s|^BGLBUILDLIBDIR=.*|BGLBUILDLIBDIR=/usr/lib/bigloo/${_src_ver}|g" \ -e "s|^\(BIGLOO=.*\)\.sh|\1|" \ -e "s|^\(BGL.*=.*\)\.sh|\1|" \ - -i "${pkgdir}/usr/lib/bigloo/${pkgver}/Makefile.config" + -i "${pkgdir}/usr/lib/bigloo/${_src_ver%-*}/Makefile.config" } -- 2.11.4.GIT