diff options
author | Tom Willemse | 2013-06-05 01:23:01 +0200 |
---|---|---|
committer | Tom Willemse | 2013-06-05 01:23:01 +0200 |
commit | 0070351d21d0980d5aa19c0c088bf2030dccb79f (patch) | |
tree | 1a4e37cc1921c3aa6a8bc2500364d2a6e0287d8a | |
parent | 4fb7e024c956f27cc79bedf1d3d52841e30a1864 (diff) | |
download | pkgbuilds-0070351d21d0980d5aa19c0c088bf2030dccb79f.tar.gz pkgbuilds-0070351d21d0980d5aa19c0c088bf2030dccb79f.zip |
Add cl-cffi 0.11.1
-rw-r--r-- | cl-cffi/PKGBUILD | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/cl-cffi/PKGBUILD b/cl-cffi/PKGBUILD new file mode 100644 index 0000000..853aa3d --- /dev/null +++ b/cl-cffi/PKGBUILD @@ -0,0 +1,39 @@ +# http://common-lisp.net/project/cffi/releases/cffi_0.11.1.tar.gz + +_name=cffi +pkgname=cl-$_name +pkgver=0.11.1 +pkgrel=1 +pkgdesc="Common Foreign Function Interface for Common Lisp" +arch=('i686' 'x86_64') # 32-bit only? needs gnu/stubs-32.h +url="http://common-lisp.net/project/cffi/" +license=('BSD') +depends=('common-lisp' 'cl-asdf' 'cl-babel' 'cl-alexandria' + 'cl-trivial-features') +source=("http://common-lisp.net/project/$_name/releases/${_name}_$pkgver.tar.gz") +md5sums=('2810e3dfae63fe8585a607186861c7bf') + +package() +{ + local destination="$pkgdir"/usr/share/common-lisp/source/$_name + local source="$srcdir"/${_name}_$pkgver + + install -d "$destination"/examples + install -d "$destination"/grovel + install -d "$destination"/src + install -d "$destination"/uffi-compat + install -d "$pkgdir"/usr/share/licences/$pkgname + install -d "$pkgdir"/etc/common-lisp/source-registry.conf.d/ + + install -m 644 "$source"/examples/*.lisp "$destination"/examples + install -m 644 "$source"/grovel/*.lisp "$destination"/grovel + install -m 644 "$source"/src/*.lisp "$destination"/src + install -m 644 "$source"/uffi-compat/*.lisp \ + "$destination"/uffi-compat + install -m 644 "$source"/*.asd "$destination" + install -m 644 "$source"/COPYRIGHT \ + "$pkgdir"/usr/share/licences/$pkgname + + echo "(:tree \"/usr/share/common-lisp/source/$_name\")" \ + > "$pkgdir"/etc/common-lisp/source-registry.conf.d/20-$_name.conf +} |