diff --git a/quitesimple/hs9001/APKBUILD b/quitesimple/hs9001/APKBUILD new file mode 100644 index 0000000..f0889fe --- /dev/null +++ b/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"