summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ff32cfd2935ef01eeb5a05f33df069059dd4ccc9 (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: Marcin Tydelski <marcin.tydelski@gmail.com> 
# Contributor: Kiran Hampal

pkgname=taxi-bzr
pkgver=r142
pkgrel=1
pkgdesc='A simple to use FTP client, designed for elementary OS.'
arch=('i686' 'x86_64')
url='https://launchpad.net/taxi'
license=('GPL3')
depends=('granite' 'gtk3')
makedepends=('bzr' 'vala' 'cmake')
provides=("${pkgname%-*}")
conflicts=("${pkgname%-*}")
install="${pkgname%-*}.install"
source=('bzr+lp:taxi')
sha256sums=('SKIP')

pkgver() {
  cd ${pkgname%-*}

  printf "r%s" "$(bzr revno)"
}

build() {
  cd ${pkgname%-*}

  if [[ -d build ]]; then
    rm -rf build
  fi
  mkdir build && cd build
  cmake .. -DCMAKE_INSTALL_PREFIX=/usr
  make
}

package() {
  cd ${pkgname%-*}/build

  make DESTDIR="${pkgdir}" install
}

# vim: ts=2 sw=2 et: