diff options
author | Martin T. H. Sandsmark | 2019-10-21 19:58:26 +0200 |
---|---|---|
committer | Martin T. H. Sandsmark | 2019-10-21 19:58:26 +0200 |
commit | 75ae93e9a61aaae41ca696cda5f8237cd81a92fc (patch) | |
tree | c483ce3887a21d9a0f93f8eb94e8fd75cd3686d7 /PKGBUILD | |
download | aur-martin-todo-git.tar.gz |
initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
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 +} |