[arch-commits] Commit in gambit-c/repos/community-x86_64 (PKGBUILD PKGBUILD)
Alexander Rødseth
arodseth at gemini.archlinux.org
Tue Jan 18 13:42:50 UTC 2022
Date: Tuesday, January 18, 2022 @ 13:42:50
Author: arodseth
Revision: 1108876
archrelease: copy trunk to community-x86_64
Added:
gambit-c/repos/community-x86_64/PKGBUILD
(from rev 1108875, gambit-c/trunk/PKGBUILD)
Deleted:
gambit-c/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 78 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 40 insertions(+), 38 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-01-18 13:42:44 UTC (rev 1108875)
+++ PKGBUILD 2022-01-18 13:42:50 UTC (rev 1108876)
@@ -1,38 +0,0 @@
-# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
-# Contributor: Christian Babeux <christian.babeux at 0x80.ca>
-
-pkgname=gambit-c
-pkgver=4.9.3
-pkgrel=2
-pkgdesc='Efficient implementation of the Scheme programming language'
-arch=(x86_64)
-url='https://github.com/gambit/gambit'
-license=(LGPL Apache)
-options=(staticlibs)
-makedepends=(git)
-source=("$pkgname-$pkgver.tgz::https://www.iro.umontreal.ca/~${pkgname%-c}/download/${pkgname%-c}/v${pkgver%.*}/source/${pkgname/-c/-v}${pkgver//./_}-devel.tgz")
-sha256sums=('4321ea0042f349eef673d2607a39c24f72e223aaf63f60298fffb7365f60fe53')
-
-build() {
- cd "${pkgname/-c/-v}${pkgver//./_}-devel"
-
- ./configure \
- --prefix=/usr \
- --docdir=/usr/share/doc/gambit-c \
- --infodir=/usr/share/info \
- --libdir=/usr/lib/gambit-c \
- --enable-gcc-opts \
- --enable-single-host
- make
-}
-
-package() {
- make -C "${pkgname/-c/-v}${pkgver//./_}-devel" install DESTDIR="$pkgdir"
-
- # /usr/bin/gsc conflicts with ghostscript
- mv "$pkgdir/usr/bin/gsc" "$pkgdir/usr/bin/gambitc"
- ln -sf /usr/bin/gambitc "$pkgdir/usr/bin/gsc-script"
-}
-
-# getver: github.com/gambit/gambit/releases/latest
-# vim: ts=2 sw=2 et:
Copied: gambit-c/repos/community-x86_64/PKGBUILD (from rev 1108875, gambit-c/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-01-18 13:42:50 UTC (rev 1108876)
@@ -0,0 +1,40 @@
+# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
+# Contributor: Christian Babeux <christian.babeux at 0x80.ca>
+
+pkgname=gambit-c
+pkgver=4.9.4
+pkgrel=1
+pkgdesc='Efficient implementation of the Scheme programming language'
+arch=(x86_64)
+url='https://github.com/gambit/gambit'
+license=(Apache LGPL)
+options=(staticlibs)
+makedepends=(git setconf)
+source=("${pkgname/-c}-$pkgver.tar.gz::https://gambitscheme.org/latest/gambit-v${pkgver//./_}.tgz")
+b2sums=('f2d638a8ab901fb9d14d2f91291dd732e66913f18dc4e6c9c50af7aa1aafa49e97bdd7a704dfd1f14fa71aa16a859fe9b7a7bcbc5ee5953a1dac56966071148b')
+
+prepare() {
+ setconf -d ${pkgname/-c}-$pkgver/include/stamp-release.h \
+ ___STAMP_RELEASE_VERSION=\"v$pkgver\"
+}
+
+build() {
+ cd ${pkgname/-c}-$pkgver
+ ./configure \
+ --docdir=/usr/share/doc/gambit-c \
+ --enable-gcc-opts \
+ --enable-single-host \
+ --infodir=/usr/share/info \
+ --libdir=/usr/lib/gambit-c \
+ --prefix=/usr
+ make
+}
+
+package() {
+ make -C ${pkgname/-c}-$pkgver install DESTDIR="$pkgdir"
+ # /usr/bin/gsc conflicts with ghostscript
+ mv "$pkgdir/usr/bin/gsc" "$pkgdir/usr/bin/gambitc"
+ ln -sf /usr/bin/gambitc "$pkgdir/usr/bin/gsc-script"
+}
+
+# getver: github.com/gambit/gambit/releases/latest
More information about the arch-commits
mailing list