blob: aabc2f80c0251ea2f6f42bd91d4ee0f9300be52a (
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
35
36
37
38
|
# Maintainer: Solomon Choina <shlomochoina@gmail.com>
# Maintainer: Fabio 'Lolix' Loli <fabio.loli@disroot.org>
# Contributor: Philipp 'TamCore' B. <philipp [at] tamcore [dot] eu>
pkgname=ghostwriter-git
pkgver=24.01.75.r7.g7b935d6
pkgrel=1
pkgdesc="Cross-platform, aesthetic, distraction-free Markdown editor."
arch=(x86_64 i686 )
url="https://invent.kde.org/office/ghostwriter"
license=('GPL3')
depends=('qt5-base' 'qt5-svg' 'hunspell' 'qt5-webengine' 'sonnet5' 'kxmlgui5')
makedepends=('git' 'qt5-tools' 'cmake' 'extra-cmake-modules') #'discount'
conflicts=('ghostwriter')
provides=('ghostwriter')
source=("git+https://invent.kde.org/office/ghostwriter.git")
sha256sums=('SKIP')
pkgver() {
cd "${pkgname%-git}"
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare() {
cd "${pkgname%-git}"
[[ -d build ]] || mkdir build
}
build() {
cd "${pkgname%-git}/build"
cmake -DCMAKE_INSTALL_PREFIX=/usr ..
make
}
package() {
cd "${pkgname%-git}/build"
make DESTDIR="$pkgdir" install
}
|