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

Felix Yan felixonmars at archlinux.org
Thu Jun 10 22:50:21 UTC 2021


    Date: Thursday, June 10, 2021 @ 22:50:21
  Author: felixonmars
Revision: 417930

archrelease: copy trunk to testing-x86_64

Added:
  ffcall/repos/testing-x86_64/
  ffcall/repos/testing-x86_64/PKGBUILD
    (from rev 417929, ffcall/trunk/PKGBUILD)

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

Copied: ffcall/repos/testing-x86_64/PKGBUILD (from rev 417929, ffcall/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2021-06-10 22:50:21 UTC (rev 417930)
@@ -0,0 +1,31 @@
+# Maintainer: Vesa Kaihlavirta <vegai at iki.fi>
+# Contributor: Michael Baehr <usemike at spamblocked.com>
+
+pkgname=ffcall
+pkgver=2.3
+pkgrel=1
+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=('81e7e9862e342053b62004e1788b49e80defaa3186d0352cccf6e6b77c823ef2')
+
+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