summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 48c08fb45a0a8318b539da693759799dcf62bb51 (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
# Maintainer: Maxime "pep" Buquet <archlinux@bouah.net>

_pkgbase='gtimelog'
pkgname=gtimelog-collabora-git
pkgver=r338.7890123
pkgrel=2
pkgdesc="A time tracking application: Collabora repository."
provides=('gtimelog')
arch=('any')
url="https://gitlab.collabora.com/collabora/gtimelog.git"
license=('GPL2')
depends=(
  'libsoup'
  'python2'
  'python2-gobject'
  'python2-setuptools'
  'python2-gnomekeyring')
makedepends=('git' 'python2' 'python2-setuptools')
source=(
  "$_pkgbase::git+https://gitlab.collabora.com/collabora/gtimelog.git"
)

pkgver() {
  cd "$srcdir/$_pkgbase"
  echo "r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
}

build() {
  cd "$srcdir/$_pkgbase"
  python2 setup.py build
}

package() {
  cd "$srcdir/$_pkgbase"
  python2 setup.py install --root="$pkgdir/"
}

sha256sums=('SKIP')