2 # JOBoRun : Jwm OpenBox Obarun RUNit
3 # Maintainer : Joe Bo Run <joborun@disroot.org>
4 # PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcore/$pkgname"
5 #-----------------------------------------| DESCRIPTION |---------------------------------------
10 pkgdesc='Portable foreign function interface library'
12 url='https://sourceware.org/libffi/'
14 checkdepends=('dejagnu')
15 makedepends=('automake' 'autoconf')
16 provides=('libffi.so')
17 source=(https://github.com/libffi/libffi/releases/download/v${pkgver}/libffi-${pkgver}.tar.gz)
26 # remove --disable-exec-static-tramp once ghc and gobject-introspection
27 # work fine with it enabled (https://github.com/libffi/libffi/pull/647)
31 --disable-multi-os-directory \
32 --disable-exec-static-tramp \
38 make -C $pkgname-$pkgver check
43 make DESTDIR="$pkgdir" install
44 install -Dm 644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
45 install -Dm 644 README.md -t "$pkgdir"/usr/share/doc/$pkgname
48 #---- license gpg-key sha256sums ----
52 sha256sums=(540fb721619a6aba3bdeef7d940d8e9e0e6d2c193595bc243241b77ff9e93620) # libffi-3.4.2.tar.gz