summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7a8d5373c11605a823ff35f0bb5fb157455dbb91 (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
pkgbase='novelwriter'
pkgname=('novelwriter')
_module='novelWriter'
pkgver='1.4.2'
pkgrel=1
pkgdesc="A markdown-like document editor for writing novels"
url="https://novelwriter.io"
depends=('python')
makedepends=('python-setuptools')
license=('GPL')
arch=('any')
source=("https://files.pythonhosted.org/packages/source/${_module::1}/$_module/$_module-$pkgver.tar.gz")
sha256sums=('81da74f87e310e27d1cc7db7accadb890289c5f7a2e4969f54b92caf9ecbd57f')

build() {
    cd "${srcdir}/${_module}-${pkgver}"
    python setup.py build
}

package() {
    depends+=()
    cd "${srcdir}/${_module}-${pkgver}"
    python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
}