blob: 0513569b562feebce29e9ec14502fcd8a1830e2c (
plain)
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
# Maintainer: Fabio 'Lolix' Loli <fabio.loli@disroot.org> -> https://github.com/FabioLolix
pkgname=textosaurus
epoch=1
pkgver=0.9.13+23+g6e2e86d4
pkgrel=1
pkgdesc="Simple cross-platform text editor based on Qt and Scintilla"
arch=(x86_64 i686 arm armv6h armv7h aarch64)
url="https://github.com/martinrotter/textosaurus"
license=(GPL3)
depends=(hicolor-icon-theme qt5-base qt5-svg)
makedepends=(git qt5-tools)
source=("git+https://github.com/martinrotter/textosaurus.git#commit=6e2e86d45eebc37ca6992ab17b3acbc3840f5967"
"git+https://github.com/martinrotter/transka.git"
"git+https://github.com/martinrotter/7za.git"
"git+https://github.com/martinrotter/nsis.git"
"git+https://github.com/martinrotter/sed.git"
"fix-build.patch")
sha256sums=('SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'b41a0538e3da266c8e7bd67eca2dd6e8c2495521596fced4d3d3d496cfd135bc')
pkgver() {
cd "${srcdir}/${pkgname}"
git describe --long | sed 's/-/+/g'
}
prepare() {
cd "${srcdir}/${pkgname}"
git submodule init
git config 'submodule.resources/scripts/transka.url' "${srcdir}/transka"
git config 'submodule.resources/scripts/7za.url' "${srcdir}/7za"
git config 'submodule.resources/scripts/nsis.url' "${srcdir}/nsis"
git config 'submodule.resources/scripts/sed.url' "${srcdir}/sed"
git -c protocol.file.allow=always submodule update
git apply ../fix-build.patch
}
build() {
cd "${srcdir}/${pkgname}"
qmake build.pro -r CONFIG+=release PREFIX=/usr
make
}
package() {
cd "${srcdir}/${pkgname}"
make install INSTALL_ROOT="${pkgdir}/"
}
|