aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ubuntu-archive-keyring/APKBUILD
blob: b65aeeb7d8fc00ceea5cc9d5df2ac68cd783b06d (plain) (blame)
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
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=ubuntu-archive-keyring
pkgver=2016.05.13.1
_pkgver=${pkgver%.*}${pkgver//*./-}
pkgrel=1
pkgdesc="GnuPG archive keys of the Debian archive"
url="https://packages.debian.org/sid/debian-archive-keyring"
arch="noarch"
license="GPL"
depends="gnupg"
makedepends="tar xz"
options="!check" # upstream doesn't have a test suite.
subpackages="$pkgname-doc"
source="http://ftp.debian.org/debian/pool/main/u/ubuntu-keyring/${pkgname}_${_pkgver}_all.deb"

unpack() {
	cd "$srcdir"
	for i in $source; do
		case $i in
			*.deb) ar x ${i##*/} || return 1 ;;
		esac
	done
}

build() {
	return 0
}

package() {
	mkdir -p "$pkgdir"
	tar -xJf "$srcdir"/data.tar.xz -C "$pkgdir"/
}

sha512sums="8234457c379d2a3d0524e5ab5abf806aa8c49806ec863e7fd1d95a63c2b32ccbcaf2375e186de3bd0611b1d8f227d4ee03428d63f30f5b45597036fd5d5a0a56  ubuntu-archive-keyring_2016.05.13-1_all.deb"