blob: 92f666f4dad6af2384b0f13ebb51c5a53ea4142c (
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: Ragnar Laud <ragnar.laud@hotmail.com>
pkgname=go-pdirs
pkgrel=1
pkgver=0.1.1
pkgdesc="Project directory resolver"
arch=(x86_64)
url="https://github.com/xprnio/$pkgname"
license=(MIT)
depends=(go make)
makedepends=(git)
provides=($pkgname)
conflicts=($pkgname-git)
source=("https://github.com/xprnio/$pkgname/archive/v$pkgver.tar.gz")
sha256sums=('399d3da30aaaa154eb186c66c827397ad4e439b8871592cc82794e0dfd8df1e6')
build() {
cd $pkgname-$pkgver
make build
}
check() {
cd $pkgname-$pkgver
make test
}
package() {
cd $pkgname-$pkgver
install -Dm755 "bin/go-pdirs" "$pkgdir/usr/bin/$pkgname"
install -Dm755 "scripts/pcd" "$pkgdir/usr/bin/pcd"
}
|