diff options
author | FabioLolix | 2018-04-01 00:48:52 +0200 |
---|---|---|
committer | FabioLolix | 2018-04-01 00:48:52 +0200 |
commit | 8b3e1e36c9a1e3337cd07d5df18815d8a70b11c7 (patch) | |
tree | cc078c8236cdfe40eb336adb5e4e7eed0aede320 /PKGBUILD | |
download | aur-8b3e1e36c9a1e3337cd07d5df18815d8a70b11c7.tar.gz |
Intial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..1a10e309cce9 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,36 @@ +# Maintainer: Fabio 'Lolix' Loli <lolix@disroot.org> -> https://github.com/FabioLolix + +pkgname=textosaurus +pkgver=2018.03.26 +pkgrel=1 +pkgdesc="Simple cross-platform text editor based on Qt and Scintilla" +arch=('x86_64' 'i686') +url="https://github.com/martinrotter/textosaurus" +license=(GPL3) +depends=('qt5-base' 'qt5-svg') +makedepends=('git' 'qt5-tools') +provides=('textosaurus') +conflicts=('textosaurus' 'textosaurus-git') +replaces=('textilosaurus') +_commit=513ce234eef077902e24196d3fb93773e1eff0d5 +source=("git+https://github.com/martinrotter/textosaurus#commit=$_commit") +md5sums=('SKIP') + +prepare() { + cd "${srcdir}/${pkgname}" + install -d build + + git submodule init + git submodule update +} + +build() { + cd "${srcdir}/${pkgname}/build" + qmake ../textosaurus.pro -r CONFIG+=release PREFIX=/usr + make +} + +package() { + cd "${srcdir}/${pkgname}/build" + make install INSTALL_ROOT="${pkgdir}/" +} |