blob: 57dd224a22b28d0993f14cb3aa8b9e6a7fd5ae01 (
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
|
# Maintainer: Josh Meranda <joshmeranda@gmail.com>
pkgname=wrash
pkgver=0.2.4
pkgrel=1
depends=()
pkgdesc="A minimalistic command wrapper shell"
arch=(x86_64)
url="https://github.com/joshmeranda/wrash"
license=('MIT')
groups=()
makedepends=("go")
provides=("${pkgname}")
conflicts=("${pkgname}")
replaces=()
backup=()
options=()
install=
source=("$pkgname-$pkgver::https://github.com/joshmeranda/wrash/archive/refs/tags/v$pkgver.tar.gz")
noextract=()
md5sums=('SKIP')
build() {
cd "$srcdir/$pkgname-$pkgver"
make build
}
check() {
cd "$srcdir/$pkgname-$pkgver"
make test
}
package() {
cd "$srcdir/$pkgname-$pkgver"
install -Dm755 bin/$pkgname "$pkgdir/usr/bin/$pkgname"
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|