commit 73b580b42a4e3efab87eb945fd8cbc9a94d54b2c Author: markus Date: Fri Jan 8 22:54:48 2021 +0100 Initial Commit v1.7.0 diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000..2ff5ae1 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,13 @@ +pkgbase = docker-pushrm + pkgdesc = "Docker Push Readme" - a Docker CLI plugin to update container repo docs + pkgver = 1.7.0 + pkgrel = 1 + url = https://github.com/christian-korneck/docker-pushrm + arch = any + license = MIT + makedepends = go + source = https://github.com/christian-korneck/docker-pushrm/archive/v1.7.0.zip + sha512sums = 887457138add4aebd5ddd32318b4c0c0bfa1a4c372edf1c52277ba3c4ef02cdc578406e3062fe65b9cbe323ea19cf14e2f75fc447e8733f4cae9f2fea1ec5ecc + +pkgname = docker-pushrm + diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..a3ad0dc --- /dev/null +++ b/.editorconfig @@ -0,0 +1,9 @@ +root = true + +[*] +indent_style = space +indent_size = 2 +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = false \ No newline at end of file diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3814e41 --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +* +!PKGBUILD +!.gitignore +!.editorconfig +!.SRCINFO diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..03d3fd4 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,22 @@ +# Maintainer: Markus Pesch + +pkgname=docker-pushrm +pkgver=1.7.0 +pkgrel=1 +pkgdesc='"Docker Push Readme" - a Docker CLI plugin to update container repo docs' +arch=('any') +url=https://github.com/christian-korneck/docker-pushrm +license=('MIT') +makedepends=('go') +source=("https://github.com/christian-korneck/docker-pushrm/archive/v${pkgver}.zip") +sha512sums=('887457138add4aebd5ddd32318b4c0c0bfa1a4c372edf1c52277ba3c4ef02cdc578406e3062fe65b9cbe323ea19cf14e2f75fc447e8733f4cae9f2fea1ec5ecc') + +build() { + cd ${srcdir}/${pkgname}-${pkgver} && go build +} + +package() { + mkdir --parents /usr/lib/docker/cli-plugins + install -D --mode=0755 "${srcdir}/${pkgname}-${pkgver}/${pkgname}" "${pkgdir}/usr/lib/docker/cli-plugins/${pkgname}" + install -D --mode=0644 "${srcdir}/${pkgname}-${pkgver}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +}