diff options
author | Dimitris Kiziridis | 2020-04-24 03:37:51 +0300 |
---|---|---|
committer | Dimitris Kiziridis | 2020-04-24 03:37:51 +0300 |
commit | dd8e45dd18764b32d5821d5b93a9f9f3a90bfa83 (patch) | |
tree | 8ef45218fe9ba6309cf167b53398980a80be105e | |
download | aur-dd8e45dd18764b32d5821d5b93a9f9f3a90bfa83.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | PKGBUILD | 21 |
2 files changed, 34 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..8c289d2ae969 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,13 @@ +pkgbase = minify-bin + pkgdesc = CLI implementation of the minify library package + pkgver = 2.7.3 + pkgrel = 1 + url = https://go.tacodewolff.nl/minify + arch = x86_64 + license = MIT + provides = minify + source = https://github.com/tdewolff/minify/releases/download/v2.7.3/minify_2.7.3_linux_amd64.tar.gz + sha256sums = de2d79fbf24f7ee800de0baf44fc7f0d0274e88aa94298232b95a5d6aecf9505 + +pkgname = minify-bin + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..845aeb5df466 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,21 @@ +# Maintainer: Dimitris Kiziridis <ragouel at outlook dot com> + +pkgname=minify-bin +pkgver=2.7.3 +pkgrel=1 +pkgdesc="CLI implementation of the minify library package" +arch=('x86_64') +url='https://go.tacodewolff.nl/minify' +license=('MIT') +provides=("${pkgname%-bin}") +source=("https://github.com/tdewolff/minify/releases/download/v${pkgver}/minify_${pkgver}_linux_amd64.tar.gz") +sha256sums=('de2d79fbf24f7ee800de0baf44fc7f0d0274e88aa94298232b95a5d6aecf9505') + +package() { + install -Dm755 "${srcdir}/${pkgname%-bin}" \ + "${pkgdir}/usr/bin/${pkgname%-bin}" + install -Dm644 "${srcdir}/LICENSE.md" \ + "${pkgdir}/usr/share/licenses/${pkgname%-bin}/LICENSE" + install -Dm644 "${srcdir}/cmd/minify/README.md" \ + -t "${pkgdir}/usr/share/doc/${pkgname%-bin}" +}
\ No newline at end of file |