blob: ed70e582205255b0fbd0d95d3a9f4d5e318836e3 (
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
|
# Maintainer: Tom Meyers tom@odex.be
pkgname=shunit-git
pkgver=r43.1dc12c8
pkgrel=1
pkgdesc="A basic unit testing framework for bash"
arch=(any)
url="https://github.com/F0xedb/shUnit"
_reponame="shUnit"
license=('GPL')
source=(
"git+https://github.com/F0xedb/shUnit.git")
md5sums=('SKIP')
makedepends=('git')
pkgver() {
cd "$srcdir/$_reponame"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
return 0;
}
package() {
cd "$srcdir/$_reponame"
install -Dm755 shunit "$pkgdir"/usr/bin/shunit
install -Dm644 assert.sh "$pkgdir"/usr/bin/assert.sh
}
|