archrelease: copy trunk to community-any
[ArchLinux/community.git] / git-crypt / trunk / PKGBUILD
blob0f7bb8eabd039ae5182576d4f82dcc2d173b57b2
1 # Maintainer: Caleb Maclennan <caleb@alerque.com>
2 # Contributor: Eli Schwartz <eschwartz@archlinux.org>
3 # Contributor: Daniel Perez <tuvistavie@gmail.com>
4 # Contributor: AGWA
5 # Contributor: Hugo Osvaldo Barrera <hugo@barrera.io>
6 # Contributor: noirbizarre <noirbizarre@gmail.com>
7 # Contributor: Wael Nasreddine <wael.nasreddine@gmail.com>
9 pkgname=git-crypt
10 pkgver=0.7.0
11 pkgrel=2
12 pkgdesc='Transparent file encryption in Git'
13 arch=(x86_64)
14 url="https://www.agwa.name/projects/$pkgname"
15 license=(GPL3)
16 depends=(git openssl)
17 makedepends=(libxslt docbook-xsl)
18 _archive="$pkgname-$pkgver"
19 # Upstream has temporarily lost access to PGP keys, see:
20 # https://github.com/AGWA/git-crypt/issues/245
21 source=("$url/downloads/$_archive.tar.gz" #{,.asc}
22         openssl-3.0.patch)
23 sha256sums=('50f100816a636a682404703b6c23a459e4d30248b2886a5cf571b0d52527c7d8'
24             'b8dc43540bfd80993359890a6064ef51a932d9e677b3cd62527c6cff4bdfc1f4')
25             # 'SKIP')
26 # validpgpkeys=('EF5D84C1838F2EB6D8968C0410378EFC2080080C') # Andrew Ayer <agwa@andrewayer.name>
28 prepare() {
29         cd "$_archive"
31         # https://github.com/AGWA/git-crypt/pull/249
32         patch -Np1 -i ../openssl-3.0.patch
35 build() {
36         cd "$_archive"
37         make ENABLE_MAN=yes PREFIX=/usr \
38           DOCBOOK_XSL=/usr/share/xml/docbook/xsl-stylesheets-*/manpages/docbook.xsl
41 package() {
42         cd "$_archive"
43         make ENABLE_MAN=yes PREFIX=/usr DESTDIR="$pkgdir" install