summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTilo Brueckner2016-05-08 12:35:13 +0200
committerTilo Brueckner2016-05-08 12:35:13 +0200
commit1e1de4c8a90d2ff534250c155b0a80955526f87d (patch)
tree0269933122387b7862858cffa2217646a7e996f9
parent37479f079d8bbbaccc8acc80559a67193dc5cab1 (diff)
downloadaur-1e1de4c8a90d2ff534250c155b0a80955526f87d.tar.gz
Update to version 2.2.3
-rw-r--r--.SRCINFO10
-rw-r--r--PKGBUILD15
2 files changed, 14 insertions, 11 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 407d1ab752a..773eede499d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
-# Generated by makepkg 5.0.0
-# Sat Feb 13 08:11:57 UTC 2016
+# Generated by makepkg 5.0.1
+# Sun May 8 10:34:08 UTC 2016
pkgbase = mariadb-connector-c
pkgdesc = MariaDB Connector/C is used to connect applications developed in C/C++ to MariaDB and MySQL databases.
- pkgver = 2.2.2
+ pkgver = 2.2.3
pkgrel = 1
url = https://mariadb.com/kb/en/mariadb/about-mariadb-connector-c/
arch = i686
@@ -11,8 +11,8 @@ pkgbase = mariadb-connector-c
makedepends = cmake
depends = openssl
depends = zlib
- source = https://downloads.mariadb.org/interstitial/connector-c-2.2.2/mariadb-connector-c-2.2.2-src.tar.gz
- sha1sums = 68a7a9175bddc8717aefad3b82186af39d26f8d8
+ source = https://downloads.mariadb.org/interstitial/connector-c-2.2.3/mariadb-connector-c-2.2.3-src.tar.gz
+ sha1sums = 89031eeb4cf56affea30a3d66ff2c6c29462da3d
pkgname = mariadb-connector-c
diff --git a/PKGBUILD b/PKGBUILD
index ff20e2ca424..0ebcc3993dd 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,5 +1,5 @@
pkgname=mariadb-connector-c
-pkgver=2.2.2
+pkgver=2.2.3
pkgrel=1
pkgdesc="MariaDB Connector/C is used to connect applications developed in C/C++ to MariaDB and MySQL databases."
arch=('i686' 'x86_64')
@@ -8,14 +8,17 @@ license=("LGPL")
depends=('openssl' 'zlib')
makedepends=('cmake')
source=("https://downloads.mariadb.org/interstitial/connector-c-${pkgver}/mariadb-connector-c-${pkgver}-src.tar.gz")
-sha1sums=('68a7a9175bddc8717aefad3b82186af39d26f8d8')
+sha1sums=('89031eeb4cf56affea30a3d66ff2c6c29462da3d')
-build() {
- cd "$srcdir/"
+prepare() {
+ cd "${srcdir}/${pkgname}-${pkgver}-src"
rm -rf build
mkdir build
- cd build
+}
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}-src/build"
cmake \
-DCMAKE_BUILD_TYPE=RELEASE \
@@ -30,7 +33,7 @@ build() {
}
package() {
- cd "$srcdir/build"
+ cd "${srcdir}/${pkgname}-${pkgver}-src/build"
make DESTDIR="${pkgdir}" install
}