void-packages/srcpkgs/TMSU/template
Nathan Owens 4ade1e92b7 TMSU: update to 0.7.5
Signed-off-by: Nathan Owens <ndowens04@gmail.com>
2019-12-03 13:31:06 +01:00

28 lines
750 B
Bash

# Template file for 'TMSU'
pkgname=TMSU
version=0.7.5
revision=1
build_style=go
go_import_path=github.com/oniony/TMSU
hostmakedepends="git"
depends="fuse sqlite"
short_desc="Tool for tagging files and accessing them through FUSE"
maintainer="xaltsc <xaltsc@protonmail.ch>"
license="GPL-3.0-or-later"
homepage="https://tmsu.org"
distfiles="https://github.com/oniony/TMSU/archive/v${version}.tar.gz"
checksum=0ac7f09336aaedf73623c4f486c05137c024a726c16dd32525463aee9d70b46a
pre_build() {
export GOPATH=$PWD
}
do_install() {
vbin "$(find bin -name TMSU)" tmsu
vbin misc/bin/mount.tmsu
vbin misc/bin/tmsu-fs-merge
vbin misc/bin/tmsu-fs-mv
vbin misc/bin/tmsu-fs-rm
vman misc/man/tmsu.1
vinstall misc/zsh/_tmsu 644 usr/share/zsh/site-functions
}