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

pkgname=qmarkdowntextedit-git
pkgver=r362.0757bc2
pkgrel=1
pkgdesc='A Qt library and simple application for editing Markdown'
arch=('i686' 'x86_64')
url='https://github.com/pbek/qmarkdowntextedit'
license=('MIT')
depends=('qt5-base')
conflicts=(qmarkdowntextedit)
provides=(qmarkdowntextedit)
source=('git+https://github.com/sandsmark/qmarkdowntextedit.git#branch=martin/standalone')
md5sums=('SKIP')

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

build() {
  cd qmarkdowntextedit
  qmake
  make
}

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