[arch-commits] Commit in ffcall/repos (staging-x86_64 staging-x86_64/PKGBUILD)

Felix Yan felixonmars at archlinux.org
Sat May 16 09:31:16 UTC 2020


    Date: Saturday, May 16, 2020 @ 09:31:15
  Author: felixonmars
Revision: 383879

archrelease: copy trunk to staging-x86_64

Added:
  ffcall/repos/staging-x86_64/
  ffcall/repos/staging-x86_64/PKGBUILD
    (from rev 383877, ffcall/trunk/PKGBUILD)

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

Copied: ffcall/repos/staging-x86_64/PKGBUILD (from rev 383877, ffcall/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2020-05-16 09:31:15 UTC (rev 383879)
@@ -0,0 +1,31 @@
+# Maintainer: Vesa Kaihlavirta <vegai at iki.fi>
+# Contributor: Michael Baehr <usemike at spamblocked.com>
+
+pkgname=ffcall
+pkgver=2.2
+pkgrel=2
+pkgdesc="C library for implementing foreign function calls in embedded interpreters"
+arch=('x86_64')
+url="https://www.gnu.org/software/libffcall/"
+license=('GPL2')
+options=('!makeflags' 'staticlibs')
+source=(https://ftp.gnu.org/gnu/libffcall/libffcall-${pkgver}.tar.gz)
+sha256sums=('ebfa37f97b6c94fac24ecf3193f9fc829517cf81aee9ac2d191af993d73cb747')
+
+build() {
+  cd "${srcdir}/lib${pkgname}-${pkgver}"
+  [ "$CARCH" = "x86_64" ] && CONFIGFLAG="--with-pic"
+  ./configure --prefix=/usr --mandir=/usr/share/man $CONFIGFLAG
+  make
+}
+
+check() {
+  cd "${srcdir}/lib${pkgname}-${pkgver}"
+  make check
+}
+
+package() {
+  cd "${srcdir}/lib${pkgname}-${pkgver}"
+  install -d "${pkgdir}"/usr/share/{man,doc/ffcall}
+  make DESTDIR="${pkgdir}" htmldir=/usr/share/doc/ffcall install
+}



More information about the arch-commits mailing list