diff options
author | Ted Trask <ttrask01@yahoo.com> | 2014-11-28 00:19:16 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2014-11-28 14:59:03 +0000 |
commit | c366711f7a54537b83c49a1ce3951fd3858ffd1b (patch) | |
tree | 2dc046c23ab81f889aa715bfa45ef3b6e1b96a89 /main/lua-sql/APKBUILD | |
parent | 2ddf2db655be2079308cfba74d32e3a38d7f902e (diff) | |
download | aports-c366711f7a54537b83c49a1ce3951fd3858ffd1b.tar.bz2 aports-c366711f7a54537b83c49a1ce3951fd3858ffd1b.tar.xz |
main/lua-sql: Add sqlite patch, bump pkgrel
Add patch to make sqlite pragmas work
https://github.com/keplerproject/luasql/pull/8/files
Diffstat (limited to 'main/lua-sql/APKBUILD')
-rw-r--r-- | main/lua-sql/APKBUILD | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/main/lua-sql/APKBUILD b/main/lua-sql/APKBUILD index 45eda19d03..bf54770fac 100644 --- a/main/lua-sql/APKBUILD +++ b/main/lua-sql/APKBUILD @@ -4,7 +4,7 @@ _drivers="mysql postgres sqlite3 odbc" pkgname=lua-sql pkgver=2.3.0 -pkgrel=0 +pkgrel=1 pkgdesc="Lua SQL drivers" url="http://www.keplerproject.org/luasql/" arch="all" @@ -24,11 +24,17 @@ for _j in $_drivers; do done source="luasql-$pkgver.tar.gz::https://github.com/keplerproject/luasql/archive/v$pkgver.tar.gz - widechars.patch" + sqlite_v2_api.patch" _sdir="$srcdir"/luasql-$pkgver prepare() { cd "$_sdir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done + # apply patches here # The config has DRIVER_INCS but it seems like its not respected @@ -108,8 +114,8 @@ for _j in $_drivers; do done md5sums="af9f0f3a2313a1fcf88c40700092048d luasql-2.3.0.tar.gz -a706dfeb8cdfcca209b90755e8104545 widechars.patch" +656699a57b5529aa9594f0fe6bad1dd4 sqlite_v2_api.patch" sha256sums="e173ff7b17a2757951b4b2f67d3b1bfe04caad7185b68cffa7758ce822e25e9f luasql-2.3.0.tar.gz -89aed953834f9b6ed9998baac8454d7761f317d61513b532c17d0262c401a446 widechars.patch" +74fb0ad9161346a29dc133508b5b444084a46d792a9a4e987766fc3989dd0435 sqlite_v2_api.patch" sha512sums="62309cf6241ffab1ed32e718536a5c986168a7bb6fcf2cf55e884db5043d5ec473bbbb7c93b399dfc0a19f282e850f742452583ad0d973661a7f672b0f8da2d5 luasql-2.3.0.tar.gz -b31fa46b99d06d6069c03679b7cef08412eee6d5e4606b02e02b98cb97e03c0b884d65390c1e80cf5a36fa41b3afba9cbbc441284ec3a1e725e3de7bc824908e widechars.patch" +7ea3eb63d4e121875033dd8b7a027eb8fd7784831f9999c880a22d64cf8d50a9ef2cde804b86b416d39262e1f7185054bac1e7fb4fb560320c0a53cce52f80cc sqlite_v2_api.patch" |