summarylogtreecommitdiffstats
diff options
context:
space:
mode:
author46792018-06-08 11:06:30 +0800
committer46792018-06-08 11:06:30 +0800
commit0fcb72c6b70a6a5c1b773296671df391031d6032 (patch)
treefd5d65231493604a525c96a299bd6b3f94b83558
parent08db990a7cc01fc903b43ee8e76787978c249822 (diff)
downloadaur-0fcb72c6b70a6a5c1b773296671df391031d6032.tar.gz
Update 2.3.5
-rw-r--r--.SRCINFO11
-rw-r--r--PKGBUILD18
2 files changed, 12 insertions, 17 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 723cbbc6743..fa849d2b7d9 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,16 +1,15 @@
pkgbase = minify
pkgdesc = Minifier CLI for HTML, CSS, JS, JSON, SVG and XML
- pkgver = 2.3.4
+ pkgver = 2.3.5
pkgrel = 1
url = https://github.com/tdewolff/minify
arch = x86_64
- arch = i686
license = MIT
depends = glibc
- source_x86_64 = https://github.com/tdewolff/minify/releases/download/v2.3.4/minify_2.3.4_linux_amd64.tar.gz
- sha256sums_x86_64 = f35f1cc0ad00c928da83d705cf822013d3ae5fd83ac90d0c895610d841d82ffe
- source_i686 = https://github.com/tdewolff/minify/releases/download/v2.3.4/minify_2.3.4_linux_386.tar.gz
- sha256sums_i686 = d62a00049885f6dabcd03ac036b16689fc76cc8d00b847172579918c4726d329
+ source = https://github.com/tdewolff/minify/releases/download/v2.3.5/minify_2.3.5_linux_amd64.tar.gz
+ source = https://raw.githubusercontent.com/tdewolff/minify/master/cmd/minify/minify_bash_tab_completion
+ sha256sums = e79038d6af6403dd84f5634770f14b774d2adf3163610f8a188e0cf3366cb0b3
+ sha256sums = 25f25a205ca071471daab6b1c8eeb16e0b1c8609844b158b85c76344eb4bbc31
pkgname = minify
diff --git a/PKGBUILD b/PKGBUILD
index a53a8f4bfdb..31db88c955f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,25 +2,21 @@
# Maintainer: meepzh <meep.aur@meepzh.com>
pkgname=minify
-pkgver=2.3.4
+pkgver=2.3.5
pkgrel=1
pkgdesc="Minifier CLI for HTML, CSS, JS, JSON, SVG and XML"
-arch=('x86_64' 'i686')
+arch=('x86_64')
url="https://github.com/tdewolff/minify"
license=('MIT')
depends=('glibc')
-if [ "$CARCH" = "i686" ]; then
- _PKGARCH=386
-else
- _PKGARCH=amd64
-fi
-source_x86_64=("https://github.com/tdewolff/minify/releases/download/v2.3.4/minify_2.3.4_linux_amd64.tar.gz")
-source_i686=("https://github.com/tdewolff/minify/releases/download/v2.3.4/minify_2.3.4_linux_386.tar.gz")
-sha256sums_x86_64=('f35f1cc0ad00c928da83d705cf822013d3ae5fd83ac90d0c895610d841d82ffe')
-sha256sums_i686=('d62a00049885f6dabcd03ac036b16689fc76cc8d00b847172579918c4726d329')
+source=("https://github.com/tdewolff/minify/releases/download/v${pkgver}/minify_${pkgver}_linux_amd64.tar.gz"
+ "https://raw.githubusercontent.com/tdewolff/minify/master/cmd/minify/minify_bash_tab_completion")
+sha256sums=('e79038d6af6403dd84f5634770f14b774d2adf3163610f8a188e0cf3366cb0b3'
+ '25f25a205ca071471daab6b1c8eeb16e0b1c8609844b158b85c76344eb4bbc31')
package() {
install -D -m755 "${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
install -D -m644 "LICENSE.md" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ install -D -m644 "minify_bash_tab_completion" "${pkgdir}/usr/share/bash-completion/completions/${pkgname}"
}