aports/quitesimple/hs9001/APKBUILD
2021-08-08 16:14:38 +02:00

34 linhas
801 B
Plaintext

# Contributor:
# Maintainer:
pkgname=hs9001
pkgver=0.4
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="96a7f340acca2a4c9aac6b50bbd575041a06d1c5e9f218985803143b02e9899083c1aa218a2a30792ebd940f45cf8b3df89f4595d0c1510cf2e7f297bd9f1135 hs9001-0.4.tar.gz"