Initial hs9001 package
这个提交包含在:
父节点
0b3b2b2058
当前提交
6176833194
33
quitesimple/hs9001/APKBUILD
普通文件
33
quitesimple/hs9001/APKBUILD
普通文件
@ -0,0 +1,33 @@
|
||||
# Contributor:
|
||||
# Maintainer:
|
||||
pkgname=hs9001
|
||||
pkgver=0.1
|
||||
pkgrel=0
|
||||
pkgdesc="Bash history put into sqlite so it can be searched "
|
||||
url="https://github.com/quitesimpleorg/hs9001"
|
||||
arch="all"
|
||||
license="MIT"
|
||||
depends=""
|
||||
makedepends="go"
|
||||
source="${pkgname}-${pkgver}.tar.gz::https://github.com/quitesimpleorg/hs9001/archive/refs/tags/v$pkgver.tar.gz"
|
||||
builddir="$srcdir/hs9001-${pkgver}"
|
||||
|
||||
build() {
|
||||
# Replace with proper build command(s)
|
||||
cd "$builddir"
|
||||
go build -ldflags "-s -w"
|
||||
:
|
||||
}
|
||||
|
||||
check() {
|
||||
# Replace with proper check command(s)
|
||||
:
|
||||
}
|
||||
|
||||
package() {
|
||||
# Replace with proper package command(s)
|
||||
install -m 755 hs9001 -D $pkgdir/usr/bin/hs9001
|
||||
:
|
||||
}
|
||||
|
||||
sha512sums="1cd56c6493ea005ac77dd81c050e336f947bc6da0d553f24bd8b47e8d9e692c16fb7dd14b949ca93aa97d57b20564bc3b1b85ba276e06e7b57fa4f116054f67c hs9001-0.1.tar.gz"
|
正在加载...
在新工单中引用
屏蔽一个用户