[arch-commits] Commit in guile1.8/repos (staging-x86_64 staging-x86_64/PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Fri Nov 9 22:01:45 UTC 2018
Date: Friday, November 9, 2018 @ 22:01:44
Author: felixonmars
Revision: 338639
archrelease: copy trunk to staging-x86_64
Added:
guile1.8/repos/staging-x86_64/
guile1.8/repos/staging-x86_64/PKGBUILD
(from rev 338638, guile1.8/trunk/PKGBUILD)
----------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
Copied: guile1.8/repos/staging-x86_64/PKGBUILD (from rev 338638, guile1.8/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2018-11-09 22:01:44 UTC (rev 338639)
@@ -0,0 +1,30 @@
+# Contributor: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+
+pkgname=guile1.8
+pkgver=1.8.8
+pkgrel=6
+pkgdesc='Portable, embeddable Scheme implementation written in C. Legacy branch.'
+url="http://www.gnu.org/software/guile/"
+arch=('x86_64')
+license=('GPL')
+depends=('gmp' 'libltdl' 'ncurses>=5.7' 'texinfo')
+source=(ftp://ftp.gnu.org/pub/gnu/guile/guile-$pkgver.tar.gz)
+md5sums=('18661a8fdfef13e2fcb7651720aa53f3')
+
+build() {
+ cd guile-$pkgver
+ ./configure --prefix=/usr \
+ --disable-static \
+ --disable-error-on-warning \
+ --program-suffix=1.8
+ make LDFLAGS+="-lpthread"
+}
+
+package() {
+ cd guile-$pkgver
+ make DESTDIR="$pkgdir" install
+
+ rm -rf "$pkgdir"/usr/share/info
+ sed -i '1s/guile/guile1.8/' -i "$pkgdir"/usr/bin/guile-config1.8
+ mv "$pkgdir"/usr/share/aclocal/guile.m4 "$pkgdir"/usr/share/aclocal/guile18.m4
+}
More information about the arch-commits
mailing list