mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 13:27:09 +02:00
47 lines
1.6 KiB
Plaintext
47 lines
1.6 KiB
Plaintext
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=aports-build
|
|
pkgver=1.3
|
|
pkgrel=1
|
|
pkgdesc="MQTT based build-on-git-push scripts for Alpine Linux"
|
|
url="http://alpinelinux.org"
|
|
arch="noarch"
|
|
license="GPL-2.0"
|
|
options="!check"
|
|
depends="abuild>2.20.0 mosquitto-clients alpine-sdk mqtt-exec rsync lua-aports
|
|
lua5.2-cjson lua5.2-mqtt-publish"
|
|
depends_dev=""
|
|
makedepends="$depends_dev mosquitto-dev"
|
|
install="$pkgname.pre-install"
|
|
subpackages=""
|
|
|
|
source="aports-build
|
|
aports-build.initd
|
|
mqtt-exec.aports-build.confd
|
|
report-build-errors.lua
|
|
"
|
|
|
|
builddir="$srcdir"
|
|
|
|
build() {
|
|
cd "$builddir"
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
install -Dm755 "$srcdir"/aports-build \
|
|
"$pkgdir"/usr/bin/aports-build
|
|
install -d "$pkgdir"/etc/init.d
|
|
|
|
ln -s mqtt-exec "$pkgdir"/etc/init.d/mqtt-exec.aports-build
|
|
install -Dm644 "$srcdir"/mqtt-exec.aports-build.confd \
|
|
"$pkgdir"/etc/conf.d/mqtt-exec.aports-build
|
|
|
|
install -Dm644 "$srcdir"/report-build-errors.lua \
|
|
"$pkgdir"/etc/buildrepo/plugins.d/report-build-errors.lua
|
|
}
|
|
|
|
sha512sums="50cea5f0eef8f4644183423eedbb5acc1443d027d2602366c9760f3f13f6306bf3618ecebdd4d903900da5bbc7017a7b6829bbc270502afbcba208f7479e7fb4 aports-build
|
|
821035bda47152c341ec94bf960fa67e3377051826712ceb74f39103e6e422777b6e082231bfb87865653d2b93b7d3154cfc24abf65a52e3e66da69412dd7e41 aports-build.initd
|
|
62ed5cb6d1fef03fa707512c8c99c572a91e64706ebcc2e7097108811818615618bab908292d0ba0ad2afe93a27333d9c91deb347d6c99703eb8983d1ee5f480 mqtt-exec.aports-build.confd
|
|
ded99f4c9474e4dc91605de71919deebbeb8e2e3ebcc9d61890f327bb6220d891a9f2a6c615929cc53bd8007b1a1dbd827bc55cd5cbdd1a6661fcdafa4912950 report-build-errors.lua"
|