blob: 8df9c0bffcd24a2c0bb740821b741de77cd32b96 (
plain) (
blame)
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
|
# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
pkgname=featherpad
pkgver=0.11.1
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
hunspell-dev libx11-dev libxext-dev"
subpackages="$pkgname-lang"
source="FeatherPad-$pkgver.tar.gz::https://github.com/tsujan/FeatherPad/archive/V$pkgver.tar.gz
hunspell-link.patch
"
builddir="$srcdir/FeatherPad-$pkgver"
build() {
qmake
make PREFIX=/usr
}
lang() {
mkdir -p "$subpkgdir"/usr/share/$pkgname
mv "$pkgdir"/usr/share/$pkgname/translations "$subpkgdir"/usr/share/$pkgname/translations
}
package() {
make INSTALL_ROOT="$pkgdir" PREFIX=/usr install
}
sha512sums="d5c3a6b1505c89498d04ca90aff5824611e63ac01f68830c8715c3c5dc7029c6b1779215b69726190875791941e57c694d0716089f117470f8a84ab6d2679b10 FeatherPad-0.11.1.tar.gz
471714eec9a376b138cc4c6c7b7d1339c9767091309c95b11ef2a8536250c796367b1544dca9610cc10babdbd08ac1436784d71292680b9da90e681dd855aaf0 hunspell-link.patch"
|