summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO11
-rw-r--r--PKGBUILD25
2 files changed, 18 insertions, 18 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 967b3c82034..2bf5ae28c07 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,19 +1,20 @@
pkgbase = ocaml-mysql
pkgdesc = OCaml bindings for MySQL
- pkgver = 1.2.1
- pkgrel = 3
+ pkgver = 1.2.4
+ pkgrel = 1
url = http://ocaml-mysql.forge.ocamlcore.org/
arch = i686
arch = x86_64
license = LGPL
- makedepends = ocaml
makedepends = ocaml-findlib
makedepends = libmariadbclient
+ depends = ocaml
+ depends = zlib
depends = camlp4
options = !strip
options = staticlibs
- source = https://github.com/ygrek/ocaml-mysql/releases/download/v1.2.1/ocaml-mysql-1.2.1.tar.gz
- md5sums = 776d07219ac3a6ffa000811defd91eb3
+ source = https://github.com/ygrek/ocaml-mysql/releases/download/v1.2.4/ocaml-mysql-1.2.4.tar.gz
+ sha512sums = d22269cd24a7c2ed1ccf91c6c8a330cf5a8006cb40b368fe2fa90a543a5e01437e884de4d1c2009b7ce7f34fec070f73d98372dfebb0e69c516681731c725e4a
pkgname = ocaml-mysql
diff --git a/PKGBUILD b/PKGBUILD
index 6993079c06b..c8509529899 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,27 +1,26 @@
-# Maintainer: oliver < a t > first . in-berlin . de
+# Maintainer: Felix Golatofski <contact@xdfr.de>
+# Contributor: oliver < a t > first . in-berlin . de
# Contributor: Gregory BELLIER <gregory.bellier -- gmail -- com>
pkgname=ocaml-mysql
-pkgver=1.2.1
-pkgrel=3
+pkgver=1.2.4
+pkgrel=1
pkgdesc="OCaml bindings for MySQL"
arch=('i686' 'x86_64')
url="http://ocaml-mysql.forge.ocamlcore.org/"
license=('LGPL')
-makedepends=('ocaml' 'ocaml-findlib' 'libmariadbclient')
-depends=(camlp4)
+makedepends=('ocaml-findlib' 'libmariadbclient')
+depends=('ocaml' 'zlib' 'camlp4')
options=('!strip' 'staticlibs')
-#install=
source=(https://github.com/ygrek/ocaml-mysql/releases/download/v$pkgver/ocaml-mysql-$pkgver.tar.gz)
-md5sums=('776d07219ac3a6ffa000811defd91eb3')
+sha512sums=('d22269cd24a7c2ed1ccf91c6c8a330cf5a8006cb40b368fe2fa90a543a5e01437e884de4d1c2009b7ce7f34fec070f73d98372dfebb0e69c516681731c725e4a')
build() {
-
cd "$srcdir/ocaml-mysql-$pkgver"
- ./configure || return 1
- make reallyall || return 1
-
+ ./configure
+ make
+ make opt
}
package() {
@@ -29,9 +28,9 @@ package() {
export OCAMLFIND_LDCONF="ignore"
cd "$srcdir/ocaml-mysql-$pkgver"
- install -d $OCAMLFIND_DESTDIR || return 1
+ install -d $OCAMLFIND_DESTDIR
- make install || return 1
+ make install
}