Initial commit

This commit is contained in:
Hunter Wittenborn 2021-12-19 04:45:51 -06:00
commit ebeacaa93f
No known key found for this signature in database
GPG Key ID: A9678BE2A64D1DDF
2 changed files with 38 additions and 0 deletions

14
.SRCINFO Normal file
View File

@ -0,0 +1,14 @@
generated-by = makedeb-makepkg
pkgbase = docker-compose
pkgdesc = Define and run multi-container applications with Docker
pkgver = 2.2.2
pkgrel = 1
url = https://docs.docker.com/compose/
arch = any
license = Apache-2.0
depends = golang-go>=1.17
source = https://github.com/docker/compose/archive/refs/tags/v2.2.2.tar.gz
sha256sums = SKIP
pkgname = docker-compose

24
PKGBUILD Normal file
View File

@ -0,0 +1,24 @@
# Maintainer: Hunter Wittenborn <hunter@hunterwittenborn.com>
pkgname=docker-compose
pkgver=2.2.2
pkgrel=1
pkgdesc='Define and run multi-container applications with Docker'
arch=('any')
license=('Apache-2.0')
depends=('golang-go>=1.17')
url='https://docs.docker.com/compose/'
source=("https://github.com/docker/compose/archive/refs/tags/v${pkgver}.tar.gz")
sha256sums=('SKIP')
build() {
cd "compose-${pkgver}/"
go build -trimpath -o "${pkgname}" ./cmd
}
package() {
cd "compose-${pkgver}/"
install -Dm 755 "./${pkgname}" "${pkgdir}/usr/lib/docker/cli-plugins/${pkgname}"
install -d "${pkgdir}/usr/bin/"
ln -s "/usr/lib/docker/cli-plugins/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
}