blob: a655f56042396bd7063c56d8c2f4bd1df1b37bf3 (
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.0
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=('e702e6bfd67e1796e00fa58035aaaf7fa8703155b84e11c4a6a845e4231fb43f')
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
}
|