# Maintainer: Peter Mattern pkgname=featherpad pkgver=0.9.2 pkgrel=1 pkgdesc='Lightweight Qt5 plain text editor for Linux' arch=('i686' 'x86_64') url='https://github.com/tsujan/FeatherPad' license=('GPL3') depends=('qt5-svg' 'qt5-x11extras' 'desktop-file-utils' 'gtk-update-icon-cache') makedepends=('qt5-tools') optdepends=('qt5-translations: localized keyboard shortcuts') source=("$pkgname-$pkgver.tar.gz::https://github.com/tsujan/FeatherPad/archive/V$pkgver.tar.gz") sha256sums=('f3ed0bc17b1679e8498d3e453209055274a9f89b1fec01a1201389365d47e67c') build() { rm -Rf build && mkdir build cd build qmake $srcdir/FeatherPad-$pkgver/ make } package() { cd build make INSTALL_ROOT=$pkgdir install }