summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3833108af163b2022e16cc832e69465acee4e8be (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
# Maintainer: yozi <es.mslj TA xunilhcra> backwards
# Contributor: yozi <es.mslj TA xunilhcra> backwards
pkgname='tocc'
pkgver='1.0.1'
pkgrel=2
pkgdesc='Tag-based file management system (contains toccfs and official CLI client)'
arch=('i686' 'x86_64')
url='http://t-o-c-c.com'
license=('GPL3')
depends=('libtocc' 'fuse')
source=("https://github.com/aidin36/${pkgname}/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz"
        "https://github.com/aidin36/${pkgname}/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz.sig")
validpgpkeys=(# Aiidin Gharibnavaz <aidin@t-o-c-c.com>
              'FC34B251315AF6668AA1FB30F8A5FC9979B75433')
sha256sums=('c880171c2a94cc298cf073ad347205763080c15710407834627aa24a4e93a2cd'
            'SKIP')
sha384sums=('2f35616be2906600e2ea19244222e894ac675cc9a62e00f9e2f15a0c81853b341747a56d4b6e1f34665b4fb8ffc0a541'
            'SKIP')
sha512sums=('a1c1abcf097d3e8c7782ef6bfa3d62d91b53db6c20348cbaa16f2c082fbbe46d42a2609d0da8bd1790eb578be450e9d0f6f78041e25d14ec0b61ffba453b4140'
            'SKIP')

build() {
  # Build toccfs
  cd "${pkgname}-${pkgver}/toccfs/src"
  ./configure --prefix=/usr
  make
  # Build tocc and tocc-initialize
  cd ../../cli/src
  ./configure --prefix=/usr
  make
}

package() {
  # Install toccfs
  cd "${pkgname}-${pkgver}/toccfs/src"
  make DESTDIR="$pkgdir/" install
  # Install tocc and tocc-initialize
  cd ../../cli/src
  make DESTDIR="$pkgdir/" install
}

# vim:set ts=2 sw=2 et: