summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 781f3ea5c1797336f6109547c12210d364716e86 (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
# This file was generated by GoReleaser. DO NOT EDIT.
# Maintainer: Peter Kurfer <peter.kurfer@gmail.com>
# Contributor: Peter Kurfer <peter.kurfer@gmail.com>

pkgname='git-age-bin'
pkgver=0.2.1
pkgrel=1
pkgdesc='git-age is a smudge/clean filter to encrypt/decrypt files in a git repository transparently
'
url='https://github.com/prskr/git-age'
arch=('aarch64' 'x86_64')
license=('MIT')
provides=('git-age')
conflicts=('git-age')
optdepends=('git')

source_aarch64=("${pkgname}_${pkgver}_aarch64.tar.gz::https://github.com/prskr/git-age/releases/download/v0.2.1/git-age_Linux_arm64.tar.gz")
sha256sums_aarch64=('8e6fb71464c6b0f88b8b2eb088693c22764fa4ea7425ef1fefd3d48b15caf5df')

source_x86_64=("${pkgname}_${pkgver}_x86_64.tar.gz::https://github.com/prskr/git-age/releases/download/v0.2.1/git-age_Linux_x86_64.tar.gz")
sha256sums_x86_64=('35d88cedd62a170a5d7b16b97469cbff0546d58a1f5c4beee62825892d777c2b')

package() {
  # bin
  install -Dm755 "./git-age" "${pkgdir}/usr/bin/git-age"

  # license
  install -Dm644 "./LICENSE" "${pkgdir}/usr/share/licenses/git-age/LICENSE"

  # man pages
  install -Dm644 "./docs/git-age.1.gz" "${pkgdir}/usr/share/man/man1/git-age.1.gz"
}