blob: ffa0405277b4ab73d64aa7c6ba71169144b15f3a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
# Maintainer: Matthew Gamble
pkgname=f
pkgver=0.5.4
pkgrel=1
pkgdesc="Stress-free wrapper around find."
arch=('any')
url='https://github.com/knu/g'
license=('BSD-2-Clause')
depends=('bash')
source=("https://github.com/knu/g/archive/v${pkgver}.tar.gz")
sha256sums=('8d01159f45fed02c6f06ecc10f37b8f818c63db4ed3da15e19e26eb029b36938')
package() {
cd "g-$pkgver"
install -Dm755 f "${pkgdir}/usr/bin/f"
mkdir -p "${pkgdir}/usr/share/licenses/f"
sed -n 5,28p f | sed -e 's/^..//' | sed -e 's/^#//' > "${pkgdir}/usr/share/licenses/f/LICENSE"
}
|