X-Original-To: alpine-aports@lists.alpinelinux.org Received: from mail.cmpwn.com (mail.cmpwn.com [45.56.77.53]) by lists.alpinelinux.org (Postfix) with ESMTP id 43EAA5C4D5B for ; Sun, 10 Dec 2017 00:17:23 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=cmpwn.com; s=cmpwn; t=1512865098; bh=2aap4TUrgcEKYRX8K3mdok7pZ8NEblUUohjVqIgKCTE=; h=From:To:Cc:Subject:Date; b=r5XfIdw00UyZvNHiwWMXGBMQwuDUddBytpa3hrXYa8Es1+4P3ayZi27681/9AfgoD AnKTI+1etJaTOCORHY2SVu0lKEXDWLqbCuQKp3oO5OlDEW7i5YAb4fXCG9hrsV6ZWT NpidxjFJEVExUbhcE7pM8IFA1MMGehc9+9oGSrLY= From: Drew DeVault To: alpine-aports@lists.alpinelinux.org Cc: Drew DeVault Subject: [alpine-aports] [PATCH] testing/apk-file: new aport Date: Sat, 9 Dec 2017 19:17:20 -0500 Message-Id: <20171210001720.8222-1-sir@cmpwn.com> X-Mailer: git-send-email 2.15.0 X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: https://github.com/jessfraz/apk-file Search apk packages via the command line. --- testing/apk-file/APKBUILD | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 testing/apk-file/APKBUILD diff --git a/testing/apk-file/APKBUILD b/testing/apk-file/APKBUILD new file mode 100644 index 0000000000..c077d891db --- /dev/null +++ b/testing/apk-file/APKBUILD @@ -0,0 +1,26 @@ +# Maintainer: Drew DeVault +pkgname=apk-file +pkgver=0.1.3 +pkgrel=0 +pkgdesc="Search apk packages via the command line." +url="https://github.com/jessfraz/apk-file" +arch="all" +license="MIT" +makedepends="go-tools" +source="${pkgname}-${pkgver}.tar.gz::https://github.com/jessfraz/${pkgname}/archive/v${pkgver}.tar.gz" +builddir="$srcdir/$pkgname-$pkgver" +options="$options !check" + +build() { + export GOPATH="$startdir" + cd "$builddir" + go get -d -v || return 1 + go build || return 1 +} + +package() { + cd "$builddir" + install -Dm755 $pkgname-$pkgver "$pkgdir"/usr/bin/$pkgname +} + +sha512sums="ff688ed064e961321ef984f7cbd2dd6013bbdd7485aa00303039857ce96e5fcda8979e8102f29a66951c377a8f71780218a023833f6eebdf901ffced0ded0d19 apk-file-0.1.3.tar.gz" -- 2.15.0 --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---