| 1 | # Contributor: Ángel Castañeda <[email protected]> |
| 2 | # Maintainer: Ángel Castañeda <[email protected]> |
| 3 | pkgname=walk-sor |
| 4 | _commit=70f7a8c104acf109ae810a9b34eb8e8b92b4d27d |
| 5 | pkgver=0_git20190920 |
| 6 | pkgrel=1 |
| 7 | pkgdesc="Plan 9 style utilities to replace find(1)" |
| 8 | url="https://github.com/google/walk" |
| 9 | arch="all" |
| 10 | license="Apache-2.0" |
| 11 | options="!check" # contains no test suite |
| 12 | depends="bash" |
| 13 | subpackages="$pkgname-doc" |
| 14 | source="$pkgname-$_commit.tar.gz::https://github.com/google/walk/archive/$_commit.tar.gz" |
| 15 | builddir="$srcdir/walk-$_commit" |
| 16 | |
| 17 | build() { |
| 18 | make |
| 19 | } |
| 20 | |
| 21 | package() { |
| 22 | install -Dm755 "$builddir"/walk "$pkgdir"/usr/bin/walk |
| 23 | install -Dm755 "$builddir"/sor "$pkgdir"/usr/bin/sor |
| 24 | install -Dm644 "$builddir"/sor.1 "$pkgdir"/usr/share/man/man1/sor.1 |
| 25 | install -Dm644 "$builddir"/walk.1 "$pkgdir"/usr/share/man/man1/walk.1 |
| 26 | install -Dm644 "$builddir"/LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" |
| 27 | } |
| 28 | |
| 29 | sha512sums=" |
| 30 | 60f783a0346d2686ace4fbbdbab7bfd85a11ab3d556c77131252214506462de5172c5f8bc72b165e1102f9f1cb9e64315bd42fcf6115cf793220598be7d087c3 walk-sor-70f7a8c104acf109ae810a9b34eb8e8b92b4d27d.tar.gz |
| 31 | " |