void-packages/srcpkgs/TMSU/template

29 lines
750 B
Bash
Raw Normal View History

2019-02-16 05:34:15 +01: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 17:08:55 +01:00
pre_build() {
export GOPATH=$PWD
}
2019-02-17 02:52:14 +01:00
2019-02-16 05:34:15 +01: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
}