upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / gpgit / trunk / PKGBUILD
blobd9e1a8855299dda298b7e158ebd987169b7022b7
1 # Maintainer: NicoHood <archlinux {cat} nicohood {dog} de>
2 # PGP ID: 97312D5EB9D7AE7D0BD4307351DAE9B7C1AE9161
4 pkgname=gpgit
5 epoch=1
6 pkgver=1.5.0
7 pkgrel=2
8 pkgdesc="A shell script that automates the process of signing Git sources via GPG"
9 arch=('any')
10 url="https://github.com/NicoHood/gpgit"
11 license=('MIT')
12 depends=('bash' 'gnupg' 'git' 'xz')
13 checkdepends=('shellcheck')
14 optdepends=('jq: Github API upload'
15             'curl: Github API upload'
16             'lzip: Compression option'
17             'zstd: Compression option')
18 source=("${pkgname}-${pkgver}.tar.xz::https://github.com/NicoHood/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.xz"
19         "${pkgname}-${pkgver}.tar.xz.asc::https://github.com/NicoHood/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.xz.asc")
20 sha512sums=('3c7577d72ce74e5bab1f1ba752539d5977c5746c07d2f71fc61fdab50f9808dcab563070fd1c40f85a119e7edbecc6787a4e250921235e19e6eec0cc0c82a94d'
21             'SKIP')
22 # NicoHood <archlinux {cat} nicohood {dog} de>
23 validpgpkeys=('97312D5EB9D7AE7D0BD4307351DAE9B7C1AE9161')
25 check() {
26     # https://github.com/NicoHood/GPGit/issues/37
27     sed -i '/shellcheck/s/-o all//' "${pkgname}-${pkgver}"/Makefile
28     make -C "${pkgname}-${pkgver}" test
31 package() {
32     make -C "${pkgname}-${pkgver}" DESTDIR="${pkgdir}" install
33     install -Dm 644 "${pkgname}-${pkgver}/LICENSE" \
34         "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"