]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | #!/bin/sh |
2 | # | |
3 | # Make Alpine Packages | |
4 | # | |
5 | ||
6 | set -xe | |
7 | ||
8 | # | |
9 | # make a distribution | |
10 | # | |
11 | ./make-dist | |
12 | mv -f *.tar.bz2 ./alpine | |
13 | ||
14 | # | |
15 | # alpine packaging key stuff | |
16 | # | |
17 | rm -rf .abuild && mkdir -p .abuild | |
18 | ABUILD_USERDIR=$(pwd)/.abuild abuild-keygen -n -a | |
19 | source .abuild/abuild.conf | |
20 | ||
21 | # | |
22 | # package it | |
23 | # | |
24 | cd alpine | |
25 | abuild checksum && JOBS=$(expr $(nproc) / 2) SRCDEST=$(pwd) REPODEST=$(pwd) PACKAGER_PRIVKEY=$PACKAGER_PRIVKEY abuild -r | |
26 | cd .. |