Initial hs9001 package

This commit is contained in:
Albert S. 2021-03-23 14:09:36 +01:00
parent 0b3b2b2058
commit 6176833194

View File

@ -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"