Files
extra/retry/PKGBUILD
2025-06-22 20:39:04 -05:00

30 lines
746 B
Bash

# Maintainer: Jesus E. <heckyel@riseup.net>
pkgname=retry
pkgver=1.0.4
pkgrel=1
pkgdesc="Retry a command until the command succeeds"
license=('Apache-2.0')
arch=('i686' 'x86_64')
url='https://github.com/minfrin/retry'
depends=('glibc')
source=("https://deb.debian.org/debian/pool/main/r/retry/retry_${pkgver}.orig.tar.bz2")
sha512sums=('aed41e14aba1fe3963e1da43e1594d8c5b63bfac8f90cbccff56360dd04f587f567a808200e6eb790ac444b93fd27eb8049ba3ade2d79cf3015337ba52a9004f')
prepare() {
cd ${pkgname}-${pkgver}
autoreconf -vfi
}
build() {
cd ${pkgname}-${pkgver}
./configure --prefix=/usr
make
}
package() {
cd ${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install
install -Dm644 COPYING -t "${pkgdir}/usr/share/licenses/$pkgname"
}