mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 20:36:40 +02:00
testing/supercronic: new aport
https://github.com/aptible/supercronic Cron for containers
This commit is contained in:
parent
76ce27f886
commit
4e4d49d380
35
testing/supercronic/APKBUILD
Normal file
35
testing/supercronic/APKBUILD
Normal file
@ -0,0 +1,35 @@
|
||||
# Contributor: Thomas Kienlen <t.kienlen@adhoc-gti.com>
|
||||
# Maintainer: Thomas Kienlen <t.kienlen@adhoc-gti.com>
|
||||
pkgname="supercronic"
|
||||
pkgver="0.1.9"
|
||||
pkgrel=0
|
||||
pkgdesc="Cron for containers"
|
||||
url="https://github.com/aptible/supercronic"
|
||||
arch="all"
|
||||
license="MIT"
|
||||
makedepends="go bash dep python"
|
||||
source="$pkgname-$pkgver.tar.gz::https://github.com/aptible/supercronic/archive/v$pkgver.tar.gz"
|
||||
builddir="$srcdir/src/github.com/aptible/$pkgname"
|
||||
|
||||
export GOPATH="$srcdir"
|
||||
|
||||
prepare() {
|
||||
mkdir -p "${builddir%/*}"
|
||||
mv "$srcdir"/$pkgname-$pkgver "$builddir"
|
||||
default_prepare
|
||||
}
|
||||
|
||||
build() {
|
||||
dep ensure -vendor-only
|
||||
go build
|
||||
}
|
||||
|
||||
check() {
|
||||
make unit
|
||||
}
|
||||
|
||||
package() {
|
||||
install -Dm755 $pkgname "$pkgdir"/usr/bin/$pkgname
|
||||
}
|
||||
|
||||
sha512sums="0e2a283c699b6f7ad1925d4d883290e42eb955b54e35ade71106c0e66886ac8f2c919f62acd5ff3064e4f71523e7415ae573b533a06ee762f27c87af29107ed3 supercronic-0.1.9.tar.gz"
|
||||
Loading…
x
Reference in New Issue
Block a user