dkjson: Switch to codeload
authorRosen Penev <rosenp@gmail.com>
Sat, 4 Aug 2018 03:04:16 +0000 (20:04 -0700)
committerGitHub <noreply@github.com>
Sat, 4 Aug 2018 03:04:16 +0000 (20:04 -0700)
Simpler and more consistent

Signed-off-by: Rosen Penev <rosenp@gmail.com>
lang/dkjson/Makefile

index 0901bc06f4db2851b68d2efe90f1ae7010c3c9c6..b5ecfd522798bd2a4d085a949146ff453c48a7e5 100644 (file)
@@ -9,16 +9,13 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=dkjson
 PKG_VERSION:=2.5
-PKG_RELEASE:=3
+PKG_RELEASE:=4
+
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
+PKG_SOURCE_URL:=https://codeload.github.com/LuaDist/dkjson/tar.gz/$(PKG_VERSION)?
+PKG_HASH:=8560ee3c7ed421b293bf0905017bc90bd2f282d56517aa59ec6c53f5fb4057bd
 
-PKG_SOURCE_URL:=https://github.com/LuaDist/dkjson.git
-PKG_SOURCE_PROTO:=git
-PKG_SOURCE_VERSION:=e72ba0c9f5d8b8746fc306f6189a819dbb5cd0be
 PKG_LICENSE:=MIT
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_SOURCE_VERSION).tar.bz2
-PKG_MIRROR_HASH:=e80673611e25ce63a95ea0f7a9c407868903fd78536d6c80f1763f2cf9488030
-PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_SOURCE_VERSION)
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_SOURCE_VERSION)
 
 include $(INCLUDE_DIR)/package.mk