diff options
author | Daichi Shinozaki | 2016-05-29 18:44:03 -0400 |
---|---|---|
committer | Daichi Shinozaki | 2016-05-29 18:44:03 -0400 |
commit | b95d68a91f7d1c3a7e32dc245f3eb2a88a201923 (patch) | |
tree | 22b5e2c18b2e7857538fed91b81b6f7939c24678 | |
download | aur-b95d68a91f7d1c3a7e32dc245f3eb2a88a201923.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 17 | ||||
-rw-r--r-- | convoy.install | 8 |
3 files changed, 41 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..88432746e67c --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +# Generated by mksrcinfo v8 +# Sun May 29 22:42:21 UTC 2016 +pkgbase = convoy + pkgdesc = A Docker volume plugin, managing persistent container volumes + pkgver = 0.4.3 + pkgrel = 1 + url = https://github.com/rancher/convoy + install = convoy.install + arch = x86_64 + license = Apache + depends = docker + source = https://github.com/rancher/convoy/releases/download/v0.4.3/convoy.tar.gz + md5sums = bec6a4d2c944f1c7e1a14eeb7ab67ed5 + +pkgname = convoy + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..de7ec8447491 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,17 @@ +# Maintainer: Daichi Shinozaki <dsdseg@gmail.com> +pkgname=convoy +pkgver=0.4.3 +pkgrel=1 +pkgdesc="A Docker volume plugin, managing persistent container volumes" +arch=(x86_64) +url="https://github.com/rancher/convoy" +license=('Apache') +depends=('docker') +install=$pkgname.install +source=("https://github.com/rancher/$pkgname/releases/download/v$pkgver/$pkgname.tar.gz") +md5sums=('bec6a4d2c944f1c7e1a14eeb7ab67ed5') + +package() { + mkdir -p $pkgdir/usr/bin + cp convoy/convoy convoy/convoy-pdata_tools $pkgdir/usr/bin +} diff --git a/convoy.install b/convoy.install new file mode 100644 index 000000000000..e2db1cb53a67 --- /dev/null +++ b/convoy.install @@ -0,0 +1,8 @@ +post_install(){ + [[ -d /etc/docker/plugins ]] || mkdir -p /etc/docker/plugins + echo "unix:///var/run/convoy/convoy.sock" > /etc/docker/plugins/convoy.spec +} + +post_remove(){ + rm /etc/docker/plugins/convoy.spec +} |