summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Linz2016-10-06 12:07:13 +0200
committerAndreas Linz2016-10-06 12:12:50 +0200
commitecb8e187f10a1a7efb6a978a8776f38a52729932 (patch)
tree4a0853ebd75e10740e5ec03ed5cecf9261dc03bc
parent8ba84c849f9a4dcdef790aa7c10fe535bf381ed8 (diff)
downloadaur-ecb8e187f10a1a7efb6a978a8776f38a52729932.tar.gz
Use CI build packages
-rw-r--r--.SRCINFO20
-rw-r--r--PKGBUILD34
2 files changed, 22 insertions, 32 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 6164b305cea..b40b6ab8e64 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Fri Sep 30 08:14:28 UTC 2016
+# Thu Oct 6 10:04:08 UTC 2016
pkgbase = caddy-full-bin
pkgdesc = A configurable, general-purpose HTTP/2 web server for any platform (All features enabled)
pkgver = 0.9.3
- pkgrel = 6
+ pkgrel = 9
url = https://caddyserver.com
install = caddy-full-bin.install
arch = i686
@@ -17,21 +17,21 @@ pkgbase = caddy-full-bin
conflicts = caddy
conflicts = caddy-git
conflicts = caddy-all-features
- source_i686 = caddy.tar.gz::https://caddyserver.com/download/build?os=linux&features=awslambda,cors,filemanager,git,hugo,ipfilter,jwt,locale,mailout,minify,multipass,prometheus,ratelimit,realip,search,upload,cloudflare,digitalocean,dnsimple,dyn,gandi,googlecloud,namecheap,rfc2136,route53,vultr&arch=386
+ source_i686 = https://github.com/klingtnet/caddy-release-downloader/releases/download/0.9.3/caddy-all-plugins-0.9.3-386.tar.gz
source_i686 = caddy-systemd-service.patch
- md5sums_i686 = SKIP
+ md5sums_i686 = f9d2b5d0b8bfe5226bfc367fadadae8e
md5sums_i686 = 77e89ee90f6b69730b11ca83c7fbf48b
- source_x86_64 = caddy.tar.gz::http://bit.ly/2daBvir
+ source_x86_64 = https://github.com/klingtnet/caddy-release-downloader/releases/download/0.9.3/caddy-all-plugins-0.9.3-amd64.tar.gz
source_x86_64 = caddy-systemd-service.patch
- md5sums_x86_64 = SKIP
+ md5sums_x86_64 = 8bfb5dc8f98746c163996e350a7c3732
md5sums_x86_64 = 77e89ee90f6b69730b11ca83c7fbf48b
- source_armv7h = caddy.tar.gz::http://bit.ly/2d99iES
+ source_armv7h = https://github.com/klingtnet/caddy-release-downloader/releases/download/0.9.3/caddy-all-plugins-0.9.3-arm.tar.gz
source_armv7h = caddy-systemd-service.patch
- md5sums_armv7h = SKIP
+ md5sums_armv7h = aef7bb0d32988c2eb018937132bfe7c9
md5sums_armv7h = 77e89ee90f6b69730b11ca83c7fbf48b
- source_aarch64 = caddy.tar.gz::http://bit.ly/2cMNaAA
+ source_aarch64 = https://github.com/klingtnet/caddy-release-downloader/releases/download/0.9.3/caddy-all-plugins-0.9.3-arm.tar.gz
source_aarch64 = caddy-systemd-service.patch
- md5sums_aarch64 = SKIP
+ md5sums_aarch64 = aef7bb0d32988c2eb018937132bfe7c9
md5sums_aarch64 = 77e89ee90f6b69730b11ca83c7fbf48b
pkgname = caddy-full-bin
diff --git a/PKGBUILD b/PKGBUILD
index e3a89c36cbd..5ed72f71388 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,14 +3,10 @@
# Based on `caddy=all-features` by Eric Engestrom: https://aur.archlinux.org/packages/caddy-all-features/
# Enable Cross Origin Resource Sharing
-_features=('awslambda' 'cors' 'filemanager' 'git' 'hugo' 'ipfilter' 'jwt' 'locale' 'mailout' 'minify' 'multipass' 'prometheus' 'ratelimit' 'realip' 'search' 'upload' 'cloudflare' 'digitalocean' 'dnsimple' 'dyn' 'gandi' 'googlecloud' 'namecheap' 'rfc2136' 'route53' 'vultr')
-
-# https://caddyserver.com/download/build?os=linux&arch=amd64&features=filemanager%2Cgit%2Chugo%2Cipfilter%2Cjwt%2Clocale%2Cmailout%2Cminify%2Cprometheus%2Crealip%2Csearch%2Ccloudflare%2Cdigitalocean%2Cdnsimple%2Cdyn%2Cgandi%2Cgooglecloud%2Cnamecheap%2Crfc2136%2Croute53%2Cvultr
-
pkgname=caddy-full-bin
_realname=caddy
pkgver=0.9.3
-pkgrel=6
+pkgrel=9
pkgdesc="A configurable, general-purpose HTTP/2 web server for any platform (All features enabled)"
arch=('i686' 'x86_64' 'armv7h' 'aarch64')
url="https://caddyserver.com"
@@ -19,26 +15,20 @@ provides=('caddy')
conflicts=('caddy' 'caddy-git' 'caddy-all-features')
depends=('systemd>=229')
makedepends=('patch')
-md5sums_i686=('SKIP'
- '77e89ee90f6b69730b11ca83c7fbf48b')
-md5sums_x86_64=('SKIP'
- '77e89ee90f6b69730b11ca83c7fbf48b')
-md5sums_armv7h=('SKIP'
- '77e89ee90f6b69730b11ca83c7fbf48b')
-md5sums_aarch64=('SKIP'
+md5sums_i686=('f9d2b5d0b8bfe5226bfc367fadadae8e'
'77e89ee90f6b69730b11ca83c7fbf48b')
+md5sums_x86_64=('8bfb5dc8f98746c163996e350a7c3732'
+ '77e89ee90f6b69730b11ca83c7fbf48b')
+md5sums_armv7h=('aef7bb0d32988c2eb018937132bfe7c9'
+ '77e89ee90f6b69730b11ca83c7fbf48b')
+md5sums_aarch64=('aef7bb0d32988c2eb018937132bfe7c9'
+ '77e89ee90f6b69730b11ca83c7fbf48b')
install='caddy-full-bin.install'
-# expand the feature array
-printf -v _features '%s,' "${_features[@]}"
-# remove subsequent ,
-_features=${_features%,}
-_url_prefix="https://caddyserver.com/download/build?os=linux&features=${_features}"
-
-source_i686=("caddy.tar.gz::${_url_prefix}&arch=386" "caddy-systemd-service.patch")
-source_x86_64=("caddy.tar.gz::${_url_prefix}&arch=amd64" "caddy-systemd-service.patch")
-source_armv7h=("caddy.tar.gz::${_url_prefix}&arch=arm" "caddy-systemd-service.patch")
-source_aarch64=("caddy.tar.gz::${_url_prefix}&arch=arm64" "caddy-systemd-service.patch")
+source_i686=("https://github.com/klingtnet/caddy-release-downloader/releases/download/${pkgver}/caddy-all-plugins-${pkgver}-386.tar.gz" "caddy-systemd-service.patch")
+source_x86_64=("https://github.com/klingtnet/caddy-release-downloader/releases/download/${pkgver}/caddy-all-plugins-${pkgver}-amd64.tar.gz" "caddy-systemd-service.patch")
+source_armv7h=("https://github.com/klingtnet/caddy-release-downloader/releases/download/${pkgver}/caddy-all-plugins-${pkgver}-arm.tar.gz" "caddy-systemd-service.patch")
+source_aarch64=("https://github.com/klingtnet/caddy-release-downloader/releases/download/${pkgver}/caddy-all-plugins-${pkgver}-arm.tar.gz" "caddy-systemd-service.patch")
prepare() {
msg2 "Patching systemd service file"