# Maintainer: Natanael Copa setvar pkgname = 'aports-build' setvar pkgver = '1.1' setvar pkgrel = '6' setvar pkgdesc = ""MQTT based build-on-git-push scripts for Alpine Linux"" setvar url = ""http://alpinelinux.org"" setvar arch = ""noarch"" setvar license = ""GPL2"" setvar depends = ""abuild>2.20.0 mosquitto-clients alpine-sdk mqtt-exec rsync lua-aports lua5.2-cjson lua5.2-mqtt-publish"" setvar depends_dev = """" setvar makedepends = ""$depends_dev mosquitto-dev"" setvar install = ""$pkgname.pre-install"" setvar subpackages = """" setvar source = ""aports-build aports-build.initd mqtt-exec.aports-build.confd report-build-errors.lua "" setvar builddir = "$srcdir" proc prepare { local i cd $builddir for i in $source { case (i) { *.patch { msg $i; patch -p1 -i "$srcdir"/$i || return 1} } } } proc build { cd $builddir } proc package { cd $builddir install -Dm755 "$srcdir"/aports-build \ "$pkgdir"/usr/bin/aports-build || return 1 install -d "$pkgdir"/etc/init.d || return 1 ln -s mqtt-exec "$pkgdir"/etc/init.d/mqtt-exec.aports-build || return 1 install -Dm644 "$srcdir"/mqtt-exec.aports-build.confd \ "$pkgdir"/etc/conf.d/mqtt-exec.aports-build || return 1 install -Dm644 "$srcdir"/report-build-errors.lua \ "$pkgdir"/etc/buildrepo/plugins.d/report-build-errors.lua \ || return 1 } setvar sha512sums = ""d0b3547322e0073583c9bcf262c56204940303d7c9512cc7b4bd3182c84db9acbbecfafa28d9a323d013ac91c55ea9bfc095f1098d590e57ae219a55e285bebd aports-build 821035bda47152c341ec94bf960fa67e3377051826712ceb74f39103e6e422777b6e082231bfb87865653d2b93b7d3154cfc24abf65a52e3e66da69412dd7e41 aports-build.initd 62ed5cb6d1fef03fa707512c8c99c572a91e64706ebcc2e7097108811818615618bab908292d0ba0ad2afe93a27333d9c91deb347d6c99703eb8983d1ee5f480 mqtt-exec.aports-build.confd ded99f4c9474e4dc91605de71919deebbeb8e2e3ebcc9d61890f327bb6220d891a9f2a6c615929cc53bd8007b1a1dbd827bc55cd5cbdd1a6661fcdafa4912950 report-build-errors.lua""