aports/quitesimple/hs9001/APKBUILD

34 lines
801 B
Plaintext

# Contributor:
# Maintainer:
pkgname=hs9001
pkgver=0.2
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="325fb0669ec904adfdece902d299b8006cecad7fae6c5929d871ed74cf9850a618080410ce6bcdbd299877e0fdb929f9915b332943238a6520407fb5b9ff326a hs9001-0.2.tar.gz"