summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 983a0cd5d7d73f941a052c499597b4f186d1893e (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
# Maintainer: Peter Mattern <pmattern at arcor dot de>

_pkgname=feathernotes
pkgname=$_pkgname-git
pkgver=0.4.6.18.g9f99845
pkgrel=1
pkgdesc='Lightweight Qt hierarchical notes-manager for Linux.'
arch=('i686' 'x86_64')
url='https://github.com/tsujan/FeatherNotes'
license=('GPL3')
depends=('qt5-x11extras' 'qt5-svg' 'shared-mime-info' 'desktop-file-utils')
makedepends=('git')
optdepends=('qt5-translations: localized keyboard shortcuts')
provides=("$_pkgname")
conflicts=("$_pkgname")
source=("$_pkgname::git+https://github.com/tsujan/FeatherNotes.git")
sha256sums=("SKIP")

pkgver() {
  cd $_pkgname
  git describe --always | sed 's:^V::;s:-:.:g'
}

build() {
  rm -Rf build && mkdir build
  cd build
  qmake $srcdir/$_pkgname/ CONFIG+=debug
  make
}

package() {
  cd build
  make INSTALL_ROOT=$pkgdir install
}