diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..46902a96b453 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: Jakob Gahde <j5lx@fmail.co.uk> + +pkgname=ocaml-efl +pkgver=1.13.0 +pkgrel=1 +license=('LGPL2.1') +arch=('i686' 'x86_64') +pkgdesc="An OCaml interface to the Enlightenment Foundation Libraries (EFL) and Elementary" +url="https://forge.ocamlcore.org/projects/ocaml-efl/" +depends=('ocaml' 'efl' 'elementary') +makedepends=('ocaml-findlib') +source=("https://forge.ocamlcore.org/frs/download.php/1499/ocaml-efl-1.13.0.tar.gz") +options=('!strip') +md5sums=('b7e5fc04f8fa644b30032da471d557e6') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + ./configure + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + + export OCAMLFIND_DESTDIR="${pkgdir}$(ocamlfind printconf destdir)" + mkdir -p "${OCAMLFIND_DESTDIR}/stublibs" + make install OCAMLFIND_DESTDIR="${OCAMLFIND_DESTDIR}" +} |