summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8f72cb4c8e61d05bde97b00c30182c5c9d2d2fe7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# This is an example PKGBUILD file. Use this as a start to creating your own,
# and remove these comments. For more information, see 'man PKGBUILD'.
# NOTE: Please fill out the license field for your package! If it is unknown,
# then please put 'unknown'.

# Maintainer: Your Name <youremail@domain.com>
pkgname=phpgrep-bin
pkgver=1.0.0
pkgrel=1
epoch=
pkgdesc="Syntax-aware grep for PHP code."
arch=(x86_64 aarch64)
url="https://github.com/quasilyte/phpgrep"
license=('MIT')
groups=()
depends=()
makedepends=()
checkdepends=()
optdepends=()
provides=(phpgrep)
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source_x86_64=("https://github.com/quasilyte/phpgrep/releases/download/v${pkgver}/phpgrep-${pkgver}-linux-amd64.zip")
source_aarch64=("https://github.com/quasilyte/phpgrep/releases/download/v${pkgver}/phpgrep-${pkgver}-linux-arm64.zip")
noextract=()
sha256sums_x86_64=('4b40e758e9cef0c4ed2e31eaa1b5834c9f415808a68114f993efbbe53dcfb9e3')
sha256sums_aarch64=('d02c6a3b775bff2248cbb0b06623bf7afb5f7a268c936239b6bc2079721a10eb')
validpgpkeys=()

package() {
	install -Dm755 phpgrep -t "$pkgdir"/usr/bin/
}