diff options
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 32 |
2 files changed, 49 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..688c7ae85d3f --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = martin-todo-git + pkgdesc = Extremely simple todo app because everything sucks + pkgver = r13.7dce80e + pkgrel = 1 + url = https://github.com/sandsmark/martin-todo.git + arch = x86_64 + arch = i686 + license = GPL3 + makedepends = git + depends = qt5-base + provides = martin-todo + conflicts = martin-todo + source = git+https://github.com/sandsmark/martin-todo.git + md5sums = SKIP + +pkgname = martin-todo-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..2e1ec600c96b --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,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 +} |