void-packages/srcpkgs/TMSU/template

29 lines
750 B
Bash
Raw Normal View History

2019-02-16 04:34:15 +00:00
# Template file for 'TMSU'
pkgname=TMSU
version=0.7.4
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=04e8a4c47532a4d8f673c3b3a921a47815c752b2ca1b564f6e1ed58a1b88a177
2019-02-17 16:08:55 +00:00
pre_build() {
export GOPATH=$PWD
}
2019-02-17 01:52:14 +00:00
2019-02-16 04:34:15 +00:00
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
}