blob: 617ec6380f00e0103451873492aed234d318fe74 (
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.7
pkgrel=0
pkgdesc="Featureful Qt-based text editor"
url="https://github.com/tsujan/FeatherPad"
arch="all"
license="GPL-3.0+"
depends=""
makedepends="qt5-qtbase-dev qt5-qtx11extras-dev qt5-qttools-dev qt5-qtsvg-dev libx11-dev libxext-dev"
install=""
subpackages="$pkgname-lang"
source="FeatherPad-$pkgver.tar.gz::https://github.com/tsujan/FeatherPad/archive/V$pkgver.tar.gz"
builddir="$srcdir/FeatherPad-$pkgver"
# no tests
options="!check"
build() {
cd "$builddir"
qmake-qt5
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="67a5fde1dd6e1c2e438342923c90cea7d6173b31b7b3c97106b4fbd5bc1e855ead8e021337fcb0a6d1dafac9980e644132e88fa0e4ca57176c6a64fd77951784 FeatherPad-0.7.tar.gz"
|