29 lines
750 B
Bash
29 lines
750 B
Bash
# Template file for 'TMSU'
|
|
pkgname=TMSU
|
|
version=0.7.5
|
|
revision=3
|
|
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
|
|
}
|