Date: Sunday, July 5, 2020 @ 10:37:39 Author: bgyorgy Revision: 657804
Move focuswriter from AUR with 125 votes Added: focuswriter/ focuswriter/trunk/ focuswriter/trunk/PKGBUILD ----------+ PKGBUILD | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) Added: focuswriter/trunk/PKGBUILD =================================================================== --- focuswriter/trunk/PKGBUILD (rev 0) +++ focuswriter/trunk/PKGBUILD 2020-07-05 10:37:39 UTC (rev 657804) @@ -0,0 +1,30 @@ +# Maintainer: Balló György <ballogyor+arch at gmail dot com> +# Contributor: Graeme Gott <[email protected]> + +pkgname=focuswriter +pkgver=1.7.6 +pkgrel=2 +pkgdesc='Simple, distraction-free word processor' +arch=(x86_64) +url="https://gottcode.org/focuswriter/" +license=(GPL3) +depends=(hicolor-icon-theme hunspell qt5-multimedia) +makedepends=(qt5-tools) +source=("https://gottcode.org/$pkgname/$pkgname-$pkgver-src.tar.bz2") +sha256sums=('34f576a49c9fe64aedad66e02efafc29c840b6c3ddc98a42d87dfda499710541') + +prepare() { + cd $pkgname-$pkgver + sed -i '/INSTALLS +=/ s/ pixmap//' focuswriter.pro +} + +build() { + cd $pkgname-$pkgver + qmake PREFIX=/usr + make +} + +package() { + cd $pkgname-$pkgver + make INSTALL_ROOT="$pkgdir" install +}
