blob: ee5dc6bac02b06831072540a0e42a89b50957e34 (
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=aports-build
pkgver=0.3
pkgrel=1
pkgdesc="MQTT based build-on-git-push scripts for Alpine Linux"
url="http://alpinelinux.org"
arch="noarch"
license="GPL2"
depends="mosquitto-utils alpine-sdk mqtt-exec rsync"
depends_dev=""
makedepends="$depends_dev mosquitto-dev"
install="$pkgname.pre-install"
subpackages=""
source="aports-build aports-build.initd aports-build.confd"
_builddir=
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
}
package() {
cd "$_builddir"
install -Dm755 "$srcdir"/aports-build \
"$pkgdir"/usr/bin/aports-build || return 1
install -Dm755 "$srcdir"/aports-build.initd \
"$pkgdir"/etc/init.d/aports-build || return 1
install -Dm644 "$srcdir"/aports-build.confd \
"$pkgdir"/etc/conf.d/aports-build || return 1
}
md5sums="86c2e21ee198bce879cb85670a59e55c aports-build
40ff7be2ad647d22c4c8ebfe1fec8b1b aports-build.initd
cdc49e0ef145de72131972a575f20e7b aports-build.confd"
sha256sums="f61b0ce19607898a47be217c9cdeb369a6cd9833025d25d1b98e5ded84551ac5 aports-build
e6b228ccc0dcdf7f172ebd3777c5791b96f86a8c96a4df95df2dd3c9051b91fe aports-build.initd
519744cdb4be83e5da1c22d4aa93c7ef97d66e03565e84b710bc21c94b82047e aports-build.confd"
sha512sums="12e6c6f2cd12d252ffc712e1249a49d651e36b9823c7b28d48402c3ace75c4bd2b0a9d343aa5bd39f4de8bcb503e92a7ae5ce13fa997c26b08024b0a90026690 aports-build
af5cd8e2647f3b9aa03020d5cea996a750b48b2b3a4d208f5ef683538aba3ecada677b9a0071385c85ec66803b8ed055b1d58853ccfe198c1c5beaad99d97d86 aports-build.initd
fbe8ed4b1fbfc979de62302873e99c67bab751a7fcd921c3b23815f535cedb34c717e82b3c223f88e06498a573cbd147a73db7bf5adbb5e1947ac75fcb8edcb4 aports-build.confd"
|