summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 392bb22bbd9694711816ce3c8767e2c01798caa5 (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
# Maintainer: √Čtienne Deparis <etienne@depar.is>

pkgname=novprog
pkgver=3.1.7
pkgrel=1
pkgdesc="A tool to graph your progress in writing a NaNoWriMo style novel"
arch=('i686' 'x86_64')
url="https://gottcode.org/novprog/"
license=('GPL3')
depends=('qt5-base' 'hicolor-icon-theme')
makedepends=('qt5-tools')
source=("https://gottcode.org/novprog/novprog-${pkgver}-src.tar.bz2"
        "https://gottcode.org/novprog/novprog-${pkgver}-src.tar.bz2.asc")
pkg_sha=$(curl -s https://gottcode.org/novprog/ | sed -n '/id="osSource"/{:loop;n;/<b>SHA-256:/{s|^.*<span class="shasum">\([0-9a-f]*\)</span>.*$|\1|p;q};b loop}')
sha256sums=("$pkg_sha"
            '4a2bc44c7e22c1b7a745c3bb9bd68ab4325aa21762a424256a995a6245113dd0')
validpgpkeys=('57E4D43C10CD7EDB8360C84774FFC7F02C4F6B37')
install=novprog.install

build() {
  cd $pkgname-$pkgver
  qmake PREFIX=/usr
  make
}

package() {
  cd $pkgname-$pkgver
  make INSTALL_ROOT="$pkgdir" install
}