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..aa471469e3f7 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: Jakob Gahde <j5lx@fmail.co.uk> + +pkgname=ocaml-voaacenc +pkgver=0.1.1 +pkgrel=1 +license=('LGPL2.1') +arch=('i686' 'x86_64') +pkgdesc=("OCaml bindings for the vo-aacenc AAC encoder") +url="https://github.com/savonet/ocaml-voaacenc" +depends=('ocaml' 'vo-aacenc') +makedepends=('ocaml-findlib') +source=("https://github.com/savonet/ocaml-voaacenc/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.gz") +options=('!strip') +md5sums=('9fc233686c26a0ec96b8a9144dc8d95b') + +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 +} |