summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2e1ec600c96baab0d9818a494c31814177a665c6 (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
# Maintainer: Martin Sandsmark <martin.sandsmark@kde.org>

pkgname=martin-todo-git
pkgver=r13.7dce80e
pkgrel=1
pkgdesc='Extremely simple todo app because everything sucks'
arch=('x86_64' 'i686')
url='https://github.com/sandsmark/martin-todo.git'
license=('GPL3')
depends=('qt5-base')
makedepends=('git')
conflicts=(martin-todo)
provides=(martin-todo)
source=('git+https://github.com/sandsmark/martin-todo.git')
md5sums=('SKIP')

pkgver() {
    cd martin-todo
    printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
    cd martin-todo
    qmake
    make
}


package() {
    cd martin-todo
    make INSTALL_ROOT="$pkgdir" install
}