summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabioLolix2018-04-01 00:48:52 +0200
committerFabioLolix2018-04-01 00:48:52 +0200
commit8b3e1e36c9a1e3337cd07d5df18815d8a70b11c7 (patch)
treecc078c8236cdfe40eb336adb5e4e7eed0aede320
downloadaur-8b3e1e36c9a1e3337cd07d5df18815d8a70b11c7.tar.gz
Intial commit
-rw-r--r--.SRCINFO21
-rw-r--r--PKGBUILD36
2 files changed, 57 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..520d03ed8dc
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,21 @@
+pkgbase = textosaurus
+ pkgdesc = Simple cross-platform text editor based on Qt and Scintilla
+ pkgver = 2018.03.26
+ pkgrel = 1
+ url = https://github.com/martinrotter/textosaurus
+ arch = x86_64
+ arch = i686
+ license = GPL3
+ makedepends = git
+ makedepends = qt5-tools
+ depends = qt5-base
+ depends = qt5-svg
+ provides = textosaurus
+ conflicts = textosaurus
+ conflicts = textosaurus-git
+ replaces = textilosaurus
+ source = git+https://github.com/martinrotter/textosaurus#commit=513ce234eef077902e24196d3fb93773e1eff0d5
+ md5sums = SKIP
+
+pkgname = textosaurus
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..1a10e309cce
--- /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}/"
+}