blob: 6c0f9f9fa6875095ba569b4a2d2fdca387960727 (
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: Maxime "pep" Buquet <archlinux@bouah.net>
_pkgbase='gtimelog'
pkgname=gtimelog-collabora-git
pkgver=r449.3254e91
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'
'python'
'python-gobject')
makedepends=('git' 'python-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"
python setup.py build
}
package() {
cd "$srcdir/$_pkgbase"
python setup.py install --root="$pkgdir/"
# Install .desktop file and icon
install -Dm644 "$_pkgbase.desktop" "${pkgdir}/usr/share/applications/$_pkgbase.desktop"
install -Dm644 "src/$_pkgbase/$_pkgbase.png" "${pkgdir}/usr/share/icons/hicolor/48x48/apps/$_pkgbase.png"
}
sha256sums=('SKIP')
|