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

_version='4.1.20201011'
_sha256='5a11e299fc27faee442cc1222ea49226e5f653e8f62d8296aa5c7fd3482f8ab8'

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=("codecept-$pkgver.phar::https://codeception.com/releases/${_version}/codecept.phar"
	"https://raw.githubusercontent.com/Codeception/Codeception/4.0/LICENSE")
sha256sums=("${_sha256}"
	"a170b2c91593ab8e55624afcd6b392d8df3e9e914105b1f1e9ea8b8b73aee16f")

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