34 lines
801 B
Plaintext
34 lines
801 B
Plaintext
# Contributor:
|
|
# Maintainer:
|
|
pkgname=hs9001
|
|
pkgver=0.3
|
|
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="0de0d6c62606a7a31f1cb8f3b2ba0401e31d01a996641fa42e4a7e98fcd67ffe3b3aef38a058d866fc66ef7307a4d1ff8ec44e18e6a15aedba2130c82c7c8671 hs9001-0.3.tar.gz"
|