PKGBUILDs/diriterator/default/PKGBUILD

27 lines
674 B
Bash
Executable File

# Maintainer: Martchus <martchus@gmx.net>
# All my PKGBUILDs are managed at https://github.com/Martchus/PKGBUILDs where
# you also find the URL of a binary repository.
pkgname=diriterator
pkgver=1.0.3
pkgrel=2
pkgdesc="Runs a script for each file in a directory hierarchy using GNU parallel."
arch=('any')
license=('GPL')
groups=
provides=
depends=('parallel')
makedepends=
conflicts=
replaces=
backup=
install=
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/Martchus/${pkgname}/archive/v${pkgver}.tar.gz")
noextract=
md5sums=('SKIP')
package() {
install -Dm755 "${srcdir}/${PROJECT_DIR_NAME:-$pkgname-$pkgver}/${pkgname}.sh" "${pkgdir}/usr/bin/${pkgname}"
}