diff options
author | Michael Hansen | 2019-09-11 14:43:27 -0700 |
---|---|---|
committer | Michael Hansen | 2019-09-11 14:43:27 -0700 |
commit | aef8da63298478f7d8d6e5853a5393cd86e5d3aa (patch) | |
tree | ea7ee778c34acb8dd3cb05f411d38399c0be6636 | |
download | aur-aef8da63298478f7d8d6e5853a5393cd86e5d3aa.tar.gz |
Add qtextpad
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | .gitignore | 5 | ||||
-rw-r--r-- | PKGBUILD | 29 |
3 files changed, 50 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..a52bb199f270 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = qtextpad + pkgdesc = Lightweight cross-platform text editor using KF5's syntax highlighting repository. + pkgver = 1.0 + pkgrel = 1 + url = https://github.com/zrax/qtextpad + arch = i686 + arch = x86_64 + license = GPL3 + makedepends = cmake + depends = syntax-highlighting + depends = file + source = git+https://github.com/zrax/qtextpad#tag=1.0 + sha256sums = SKIP + +pkgname = qtextpad + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..d4ae6f1141b7 --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +/src/ +/pkg/ +/qtextpad/ +*.pkg.tar.xz +*.src.tar.gz diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..35e26d7b19ea --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: Michael Hansen <zrax0111 gmail com> + +pkgname=qtextpad +pkgdesc="Lightweight cross-platform text editor using KF5's syntax highlighting repository." +pkgver=1.0 +pkgrel=1 +arch=('i686' 'x86_64') +url='https://github.com/zrax/qtextpad' +license=('GPL3') +depends=('syntax-highlighting' 'file') +makedepends=('cmake') +source=("git+https://github.com/zrax/${pkgname}#tag=${pkgver}") +sha256sums=('SKIP') + +build() { + mkdir -p "${srcdir}/build" + cd "${srcdir}/build" + + cmake -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + "${srcdir}/${pkgname}" + + make +} + +package() { + cd "${srcdir}/build" + make DESTDIR="${pkgdir}" install +} |