summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 791c15c8309e4222c42b365984e4b57a347b08cd (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
# Maintainer: Marius Lindvall <(firstname) {cat} varden {dog} info>

_version='4.0.20191220'
_sha256='f21c4a32857a1bd7272cb3254ca10dd439c9052262140dbb6a7769ad9c52b9e4'

pkgname=codecept-bin
pkgver=${_version}
pkgrel=1
pkgdesc='The Codeception PHP testing framework (PHP 7 Phar version)'

url='https://codeception.com/'
arch=('any')
license=('MIT')

depends=('php>=7.2')
optdepends=()
conflicts=()
source=("https://codeception.com/releases/${_version}/codecept.phar"
	"https://raw.githubusercontent.com/Codeception/Codeception/4.0/LICENSE")
sha256sums=("${_sha256}"
	"a170b2c91593ab8e55624afcd6b392d8df3e9e914105b1f1e9ea8b8b73aee16f")

pkgver() {
	echo ${_version}
}

package() {
	cd "$srcdir"
	install -Dm 755 "codecept.phar" "$pkgdir/usr/bin/codecept"
	install -Dm 644 "LICENSE" "$pkgdir/usr/share/licenses/codecept-bin/LICENSE"
}