blob: cd166c9d4d26c1b287acadbb581aa4dfbebdbcb1 (
plain) (
tree)
|
|
# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
pkgname=featherpad
pkgver=0.9.2
pkgrel=0
pkgdesc="Featureful Qt-based text editor"
url="https://github.com/tsujan/FeatherPad"
arch="all"
options="!check" # No test suite.
license="GPL-3.0+"
depends=""
makedepends="qt5-qtbase-dev qt5-qtx11extras-dev qt5-qttools-dev qt5-qtsvg-dev
libx11-dev libxext-dev"
subpackages="$pkgname-lang"
source="FeatherPad-$pkgver.tar.gz::https://github.com/tsujan/FeatherPad/archive/V$pkgver.tar.gz"
builddir="$srcdir/FeatherPad-$pkgver"
build() {
cd "$builddir"
qmake
make PREFIX=/usr
}
lang() {
mkdir -p "$subpkgdir"/usr/share/$pkgname
mv "$pkgdir"/usr/share/$pkgname/translations "$subpkgdir"/usr/share/$pkgname/translations
}
package() {
cd "$builddir"
make INSTALL_ROOT="$pkgdir" PREFIX=/usr install
}
sha512sums="4b9b00205fae16c0a7a80d2ccb2110f7a512555baac249fce4960e3e32e3b41170d33600b5d4021793fc6388066f311e748959e1311c51231f8a03995d01902d FeatherPad-0.9.2.tar.gz"
|