summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD6
2 files changed, 4 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 3380bd16ab37..d8e4d2e71f4a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,14 +1,14 @@
pkgbase = lua-resty-core
pkgdesc = Lua script engine for nginx lua module
pkgver = 0.1.20
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/openresty/lua-resty-core
arch = any
license = BSD
depends = luajit
depends = lua-resty-lrucache
depends = nginx
- source = https://github.com/openresty/lua-resty-core/archive/v0.1.20.tar.gz
+ source = lua-resty-core-0.1.20.tar.gz::https://github.com/openresty/lua-resty-core/archive/v0.1.20.tar.gz
sha256sums = 3e1c7a2fb61c069fffe756b04c1dc1695987d93719389478a40798663f0e34b1
pkgname = lua-resty-core
diff --git a/PKGBUILD b/PKGBUILD
index 45f595beb488..b9ae99949d40 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
# pkg: github openresty/lua-resty-core
pkgname=lua-resty-core
pkgver=0.1.20
-pkgrel=1
+pkgrel=2
pkgdesc='Lua script engine for nginx lua module'
arch=('any')
@@ -10,9 +10,7 @@ depends=('luajit' 'lua-resty-lrucache' 'nginx')
url="https://github.com/openresty/lua-resty-core"
license=('BSD')
-source=(
- https://github.com/openresty/lua-resty-core/archive/v$pkgver.tar.gz
-)
+source=("$pkgname-$pkgver.tar.gz::https://github.com/openresty/$pkgname/archive/v$pkgver.tar.gz")
sha256sums=('3e1c7a2fb61c069fffe756b04c1dc1695987d93719389478a40798663f0e34b1')