summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 140001954ab701d34744a6e8f8fd361bc7943ad7 (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
# Maintainer: Thomas WeiƟschuh <thomas t-8ch.de>

pkgname=filetea-git
pkgver=20140125
pkgrel=1
pkgdesc='Low friction, one-click anonymous file sharing.'
arch=(i686 x86_64)
url='https://gitorious.org/filetea/filetea'
license=('AGPL3')
depends=(evd-git)
optdepends=('jquery: to have automatic jquery updates')
makedepends=('git')
backup=('etc/filetea/filetead.conf')
source=('git+https://github.com/elima/FileTea'
        'filetea.service')

build() {
  cd "${srcdir}/FileTea"
  ./autogen.sh --prefix=/usr --sbindir=/usr/bin
  make
}

package() {
  cd "${srcdir}"
  # systemd support
  install -D -m644 filetea.service "${pkgdir}/usr/lib/systemd/system/filetea.service"

  cd FileTea
  install -D -m644 filetead.conf "${pkgdir}/etc/filetea/filetead.conf"

  make DESTDIR="${pkgdir}/" install
}

pkgver() {
  date '+%Y%m%d'
}
sha256sums=('SKIP'
            'e9b40e6568729c557790e2b0b809b258eee2b18162b197db8cc4da4ff58ea52d')
sha256sums=('SKIP'
            'd8294aca58a31ffd4355e87faf144bef672ee7fb1c7265d02394fdabf28031d4')