blob: 69480f741c0ee5c15cedbec5dffc1f16c3199369 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Maintainer: Jakob Gahde <j5lx@fmail.co.uk>
pkgname=ocaml-theora
pkgver=0.4.1
pkgrel=1
pkgdesc="OCaml binding to libtheora"
arch=('i686' 'x86_64')
url="https://github.com/savonet/ocaml-theora"
license=('GPL2')
depends=('ocaml' 'libtheora' 'ocaml-ogg')
makedepends=('dune' 'ocaml-findlib')
options=('!strip')
source=("${url}/archive/v${pkgver}.tar.gz")
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
rm -rf examples
dune build
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
DESTDIR="${pkgdir}" dune install --prefix "/usr" --libdir "lib/ocaml"
install -dm755 "${pkgdir}/usr/share/"
mv "${pkgdir}/usr/doc" "${pkgdir}/usr/share/"
}
sha256sums=('1e0a24e98b14130f875dd27192a53ec6d3f7e20809ca2cc3ed4870c303ca194d')
|