blob: df5d4b08f80195f3b0954e820d1804b70f385c35 (
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
|
# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
pkgname=featherpad
pkgver=0.9.0
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="7d898a4c9cce49c3e8dd624b1561559d40a4aae757ec1500719a5dd0dc4df055689735a36b048fb34f644c54a41ec1ee473d6b46bd022ccb00c4ea375664199a FeatherPad-0.9.0.tar.gz"
|