Initial commit
This commit is contained in:
commit
ebeacaa93f
14
.SRCINFO
Normal file
14
.SRCINFO
Normal 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
24
PKGBUILD
Normal 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}"
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user