blob: e261bc9216e2a18a2cc6e7e4e328c24199397ce8 (
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
|
# This is the PKGBUILD for TMSU
# Maintainer: Tomáš Mládek <tmladek{at}inventati{dt}org>
# Contributor: Andy Weidenbaum <archbaum@gmail.com>
pkgname=tmsu
pkgver=0.6.1
pkgrel=1
pkgdesc="A tool for tagging your files and accessing them through a virtual filesystem."
arch=('i686' 'x86_64')
url="http://tmsu.org/"
depends=('go' 'fuse' 'sqlite>=3')
provides=('tmsu')
license=('GNU GPL v3')
source=("https://github.com/oniony/TMSU/archive/v$pkgver.tar.gz")
sha256sums=('00483d9ca12cb868e9587207556a8293bd43ee5a2993a6fe9f0c93edef918a7f')
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
}
|