blob: 75b1ed7d32f191d470429a6a0f80eea9df059a04 (
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: robertfoster
# Contributor: Jakob Gahde <j5lx@fmail.co.uk>
pkgname=ocaml-ogg
pkgver=0.7.4
pkgrel=1
pkgdesc="OCaml binding to libogg"
arch=('i686' 'x86_64')
url="https://github.com/savonet/ocaml-ogg"
license=('LGPL2.1')
depends=('ocaml' 'libogg')
makedepends=('dune' 'ocaml-findlib')
options=('!strip')
source=("${url}/archive/v${pkgver}.tar.gz")
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
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=('e66f29f6f9d319747ac3d4587c956c882870c918941315ac16aef96f7ea29228')
|