blob: f900779b804c93a0e1e6a9cdfde52a8a26778173 (
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
|
# Maintainer: stefanwimmer128 <info@stefanwimmer128.xyz>
_pkgname=shellspec
pkgname=$_pkgname-git
pkgver=0.28.1.r182.g8aa3df5
pkgrel=1
pkgdesc='BDD style unit testing framework for POSIX compliant shell script'
arch=('any')
url='https://shellspec.info'
license=('MIT')
depends=('sh')
makedepends=('git')
provides=($_pkgname)
conflicts=($_pkgname)
source=("$_pkgname::git+https://github.com/shellspec/shellspec.git")
sha256sums=('SKIP')
pkgver() {
cd "$_pkgname"
git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
check() {
cd "$_pkgname"
make test
}
package() {
cd "$_pkgname"
PREFIX="$pkgdir/usr" make install
install -m 644 -Dt "$pkgdir/usr/share/licenses/$pkgname" LICENSE
}
|