summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorM0Rf302023-01-04 12:38:33 +0100
committerM0Rf302023-01-04 12:38:33 +0100
commit07f82c7be6a33ca72349b6904a5c03a3051ddcd7 (patch)
treedb5a80d524a024677bc9b15c497657393403e02c
parent64ad69b662baf8affa22453fd5dae562ccc2a3ea (diff)
downloadaur-ocaml-fdkaac.tar.gz
ocaml-fdkaac: 0.3.3
-rw-r--r--.SRCINFO9
-rw-r--r--PKGBUILD11
2 files changed, 10 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 97f9e51d4016..3ba1765d174d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = ocaml-fdkaac
pkgdesc = OCaml bingind for the fdk-aac library
- pkgver = 0.3.2
- pkgrel = 3
+ pkgver = 0.3.3
+ pkgrel = 1
url = https://github.com/savonet/ocaml-fdkaac
arch = i686
arch = x86_64
@@ -11,8 +11,7 @@ pkgbase = ocaml-fdkaac
depends = ocaml
depends = libfdk-aac
options = !strip
- source = https://github.com/savonet/ocaml-fdkaac/archive/0.3.2.tar.gz
- sha256sums = 0de28749e1435839ead013c385c6b963b88b57770e362e067139c2fd67a52e5f
+ source = https://github.com/savonet/ocaml-fdkaac/archive/refs/tags/v0.3.3.tar.gz
+ sha256sums = c660008a9c4fc397963ee8c135b6b1b666b700ce1193ba77986b3c97c71fb404
pkgname = ocaml-fdkaac
-
diff --git a/PKGBUILD b/PKGBUILD
index 3a52aec2c173..e80fe82cdafe 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,8 +3,8 @@
# Contributor: Jakob Gahde <j5lx@fmail.co.uk>
pkgname=ocaml-fdkaac
-pkgver=0.3.2
-pkgrel=3
+pkgver=0.3.3
+pkgrel=1
pkgdesc="OCaml bingind for the fdk-aac library"
arch=('i686' 'x86_64')
url="https://github.com/savonet/ocaml-fdkaac"
@@ -12,7 +12,7 @@ license=('GPL')
depends=('ocaml' 'libfdk-aac')
makedepends=('ocaml-findlib' 'dune')
options=('!strip')
-source=("https://github.com/savonet/ocaml-fdkaac/archive/${pkgver}.tar.gz")
+source=("https://github.com/savonet/ocaml-fdkaac/archive/refs/tags/v${pkgver}.tar.gz")
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
@@ -23,10 +23,11 @@ build() {
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
- DESTDIR="${pkgdir}" dune install --prefix "/usr" --libdir "lib/ocaml"
+ dune install --prefix "${pkgdir}/usr" \
+ --libdir "${pkgdir}$(ocamlfind printconf destdir)"
install -dm755 "${pkgdir}/usr/share/"
mv "${pkgdir}/usr/doc" "${pkgdir}/usr/share/"
}
-sha256sums=('0de28749e1435839ead013c385c6b963b88b57770e362e067139c2fd67a52e5f') \ No newline at end of file
+sha256sums=('c660008a9c4fc397963ee8c135b6b1b666b700ce1193ba77986b3c97c71fb404')