summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: cfc4ed003e2d898c25d562564a8de1226290e7f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Maintainer: Nicolas KAROLAK <nicolas at karolak dot fr>

pkgname=devc
_pkgver=1.0.0-alpha.3
pkgver=${_pkgver//-/.}
pkgrel=1
pkgdesc="A CLI tool to manage your devcontainers"
arch=('x86_64')
url="https://git.sr.ht/~nka/devc"
license=('GPL3')
depends=('docker')
optdepends=('docker-compose')
makedepends=(
	'make'
	'go'
)
source=("$pkgname-v$pkgver.tar.gz::https://git.sr.ht/~nka/$pkgname/archive/v$_pkgver.tar.gz")
sha256sums=("94cec2138684124385fabfbafda0f5aea33c4e6ba84522e7b7a855dc78764193")

build() {
	cd "$pkgname-v$_pkgver"
	make
}

package() {
	cd "$pkgname-v$_pkgver"
	make DESTDIR="$pkgdir" PREFIX="/usr" install
}