apk-file: Remove package
This commit is contained in:
parent
c7dd66ad40
commit
f1841337e7
1 changed files with 0 additions and 31 deletions
|
@ -1,31 +0,0 @@
|
|||
# Contributor: drebrez <drebrez@gmail.com>
|
||||
# Maintainer: drebrez <drebrez@gmail.com>
|
||||
pkgname=apk-file
|
||||
pkgver=0.3.0
|
||||
pkgrel=0
|
||||
pkgdesc="Command line front end for pkgs.alpinelinux.org"
|
||||
url="https://github.com/genuinetools/apk-file"
|
||||
arch="all"
|
||||
license="MIT"
|
||||
makedepends="go"
|
||||
source="$pkgname-$pkgver.tar.gz::https://github.com/genuinetools/$pkgname/archive/v$pkgver.tar.gz"
|
||||
builddir="$srcdir/go/src/github.com/genuinetools/$pkgname"
|
||||
options="!check"
|
||||
|
||||
prepare() {
|
||||
mkdir -p "$srcdir/go/src/github.com/genuinetools"
|
||||
mv "$srcdir/$pkgname-$pkgver" "$builddir"
|
||||
}
|
||||
|
||||
build() {
|
||||
export GOPATH="$srcdir/go"
|
||||
cd "$builddir"
|
||||
go build -o apk-file -ldflags "-X main.version=$pkgver" main.go
|
||||
}
|
||||
|
||||
package() {
|
||||
install -Dm755 "$builddir/apk-file" \
|
||||
"$pkgdir/usr/bin/apk-file"
|
||||
}
|
||||
|
||||
sha512sums="17b7f29a652a044547d0385cc73bacbe55a783c390c341fae41e6288a0c96f2a211f6f608feb37ac10dd178d81b60e3a820e8ac118559a5c214f017e1e643a24 apk-file-0.3.0.tar.gz"
|
Loading…
Reference in a new issue