From 8c2d539d41c31a8eef29d5308373f686fd381e37 Mon Sep 17 00:00:00 2001
From: Roberto Oliveira <robertoguimaraes8@gmail.com>
Date: Sat, 6 Jan 2018 23:51:21 +0000
Subject: [PATCH] testing/sqliteodbc: upgrade to 0.9995 and modernize

---
 testing/sqliteodbc/APKBUILD | 25 +++++++++++--------------
 1 file changed, 11 insertions(+), 14 deletions(-)

diff --git a/testing/sqliteodbc/APKBUILD b/testing/sqliteodbc/APKBUILD
index c5906a72c7c0..1137492493fc 100644
--- a/testing/sqliteodbc/APKBUILD
+++ b/testing/sqliteodbc/APKBUILD
@@ -1,39 +1,36 @@
 # Contributor: Robert Boisvert <rdboisvert@gmail.com>
 # Maintainer: Robert Boisvert <rdboisvert@gmail.com>
 pkgname=sqliteodbc
-pkgver=0.9993
+pkgver=0.9995
 pkgrel=0
 pkgdesc="SQLite ODBC driver"
+url="http://www.ch-werner.de/sqliteodbc"
 arch="all"
 license="BSD"
 makedepends="libtool sqlite-dev unixodbc-dev"
 source="http://www.ch-werner.de/sqliteodbc/$pkgname-$pkgver.tar.gz"
-url="http://www.ch-werner.de/sqliteodbc"
 
-_builddir="$srcdir/$pkgname-$pkgver"
+builddir="$srcdir/$pkgname-$pkgver"
 
 prepare() {
-	cd "$_builddir"
-	update_config_sub || return 1
+	cd "$builddir"
+	update_config_sub
 }
 
 build() {
-	cd "$_builddir"
+	cd "$builddir"
 	./configure \
 		--build=$CBUILD \
 		--host=$CHOST \
-		--prefix=/usr \
-		|| return 1
-	make || return 1
+		--prefix=/usr
+	make
 }
 
 package() {
-	cd "$_builddir"
+	cd "$builddir"
 	mkdir -p "$pkgdir/usr/lib"
-	make DESTDIR="$pkgdir" install || return 1
+	make DESTDIR="$pkgdir" install
 	rm $pkgdir/usr/lib/*.la $pkgdir/usr/lib/*.a
 }
 
-md5sums="2a418fa3465d285f75218b619345cd53  sqliteodbc-0.9993.tar.gz"
-sha256sums="1a9a1abbd4387440a56b888113cebea6b39a832a16b456f355c71da69190fa35  sqliteodbc-0.9993.tar.gz"
-sha512sums="aeacb8630eb84940f8c5da8da62ca9a9449995ae300072ec192262e80a89064fb608db0b6d05aad49938beb48d6bd30c0c4694bef8980ece76b4ed3e459039c4  sqliteodbc-0.9993.tar.gz"
+sha512sums="21a9b1ae7f5b607de6d22478befdfaf55e1248f7e1e9984c9dea039bcdec2b69ade9ec92e31fcae2007652d6764b74a9a1cebae199fdc52afeca06a226de85d9  sqliteodbc-0.9995.tar.gz"
-- 
GitLab