blob: ee08a805bcef2028d308e3cea2daafe70e1041a0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# Maintainer: Marcin Wieczorek <marcin@marcin.co>
# Contributor: Tomáš Mládek <tmladek{at}inventati{dt}org>
# Contributor: Andy Weidenbaum <archbaum@gmail.com>
pkgname=tmsu
pkgver=0.7.5
pkgrel=1
pkgdesc="A tool for tagging your files and accessing them through a virtual filesystem."
arch=('i686' 'x86_64')
url="https://tmsu.org/"
depends=('fuse' 'sqlite>=3')
makedepends=('git' 'go')
provides=('tmsu')
license=('GPL3')
source=("$pkgname-$pkgver.tar.gz::https://github.com/oniony/TMSU/archive/v$pkgver.tar.gz")
sha256sums=('0ac7f09336aaedf73623c4f486c05137c024a726c16dd32525463aee9d70b46a')
build() {
export GOPATH=/tmp
echo "Now getting go-sqlite3..."
go get -u github.com/mattn/go-sqlite3
echo "Now getting go-fuse..."
go get -u github.com/hanwen/go-fuse/fuse
cd "$srcdir/TMSU-$pkgver"
make
}
package() {
mkdir -p "$pkgdir/usr/bin" \
"$pkgdir/usr/bin" \
"$pkgdir/usr/share/man/man1" \
"$pkgdir/usr/share/zsh/site-functions"
cd "$srcdir/TMSU-$pkgver"
make INSTALL_DIR="$pkgdir/usr/bin" \
MOUNT_INSTALL_DIR="$pkgdir/usr/bin" \
MAN_INSTALL_DIR="$pkgdir/usr/share/man/man1" \
ZSH_COMP_INSTALL_DIR="$pkgdir/usr/share/zsh/site-functions" \
install
}
|