[arch-commits] Commit in guile2.0/repos (staging-x86_64 staging-x86_64/PKGBUILD)

Felix Yan felixonmars at archlinux.org
Fri Nov 9 22:49:01 UTC 2018


    Date: Friday, November 9, 2018 @ 22:49:01
  Author: felixonmars
Revision: 338717

archrelease: copy trunk to staging-x86_64

Added:
  guile2.0/repos/staging-x86_64/
  guile2.0/repos/staging-x86_64/PKGBUILD
    (from rev 338716, guile2.0/trunk/PKGBUILD)

----------+
 PKGBUILD |   36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

Copied: guile2.0/repos/staging-x86_64/PKGBUILD (from rev 338716, guile2.0/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2018-11-09 22:49:01 UTC (rev 338717)
@@ -0,0 +1,36 @@
+# Maintainer:  Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
+
+pkgname=guile2.0
+_pkgname=guile
+pkgver=2.0.14
+pkgrel=2
+pkgdesc='Portable, embeddable Scheme implementation written in C'
+url='http://www.gnu.org/software/guile/'
+arch=(x86_64)
+license=(GPL)
+depends=(gmp libltdl ncurses texinfo libunistring gc libffi)
+source=(https://ftp.gnu.org/pub/gnu/$_pkgname/$_pkgname-$pkgver.tar.gz{,.sig})
+validpgpkeys=('3CE464558A84FDC69DB40CFB090B11993D9AEBB5' # Ludovic Courtès <ludo at gnu.org>
+              'FF478FB264DE32EC296725A3DDC0F5358812F8F2') # Andy Wingo
+md5sums=('333b6eec83e779935a45c818f712484e'
+         'SKIP')
+
+build() {
+  cd $_pkgname-$pkgver
+  ./configure --prefix=/usr \
+    --disable-static  \
+    --disable-error-on-warning \
+    --program-suffix=2.0
+  make
+}
+
+package() {
+  make -C $_pkgname-$pkgver DESTDIR="$pkgdir" install
+  rm "$pkgdir"/usr/lib/libguile-2.?.so.*-gdb.scm
+
+  sed -i '1s/guile/guile2.0/' -i "$pkgdir/usr/bin/guile-config2.0"
+  mv "$pkgdir"/usr/share/aclocal/guile.m4 "$pkgdir"/usr/share/aclocal/guile20.m4
+  rm -rf "$pkgdir"/usr/share/info
+}


More information about the arch-commits mailing list