5 # You can redistribute and/or modify this file under the terms of the
6 # GNU Affero General Public License as published by the Free Software
7 # Foundation, either version 3 of the License, or (at your option)
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 # Affero General Public License for more details.
15 # You should have received a copy of the GNU Affero General Public
16 # License along with this program. If not, see
17 # <https://www.gnu.org/licenses/>.
19 # SPDX-FileCopyrightText: 2022 Jason Self <j@jxself.org>
20 # SPDX-License-Identifier: AGPL-3.0-or-later
22 # This builds the metapackages for APT.
25 freesh-archive-keyring
26 liberty-archive-keyring
29 for package in "${metapackages[@]}"
32 for keyfile in keys/*.asc
34 gpg --verbose --no-default-keyring --keyring $package/usr/share/keyrings/$package.gpg --import $keyfile || gpg --no-default-keyring --keyring $package/usr/share/keyrings/$package.gpg --import $keyfile
36 dpkg-deb --root-owner-group -b $package