aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/jetring/APKBUILD
blob: d72d247126a00323d47114ca7e3e61887288566d (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
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer:
pkgname=jetring
pkgver=0.21
pkgrel=1
pkgdesc="Tools that allow for gpg keyrings to be maintained using changesets"
url="https://joeyh.name/code/jetring/"
arch="noarch"
license="GPL2"
depends="gnupg perl"
depends_dev=""
makedepends=""
install=""
subpackages="$pkgname-doc"
source="ftp://ftp.debian.org/debian/pool/main/j/${pkgname}/${pkgname}_${pkgver}.tar.gz"

_builddir="$srcdir"/$pkgname
build() {
	return 0
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1

	mkdir -p "$pkgdir"/usr/share/doc/$pkgname/
	cp -r example/ "$pkgdir"/usr/share/doc/$pkgname/examples/

	local man= sec=
	for man in *.1 *.7; do
		sec=${man##*.}
		install -Dm644 $man \
			"$pkgdir"/usr/share/man/man${sec}/$man || return 1
	done
}

md5sums="3399c9ebc5a21ccc0dc8e01c9562f07d  jetring_0.21.tar.gz"
sha256sums="6a9ef726c1746ab57361dcda14c6ab0fdfd1dcb4ef1ffda9959251449c7a9814  jetring_0.21.tar.gz"
sha512sums="bc3bfa0afaa7e6e9a79688447bc9a23271fce951646f7d159ffeb4df749c36536612b6a371034586d63f1dfdbfee24aad68ac44a350bd8f1f4b18fd5dbbe1b7b  jetring_0.21.tar.gz"