notepadqq: imported FS1847

This commit is contained in:
gnastyle 2017-03-02 18:13:15 +01:00
parent c942b6dd06
commit 1058d95dd5

34
notepadqq/PKGBUILD Normal file
View File

@ -0,0 +1,34 @@
pkgname=notepadqq
pkgver=1.0.1
pkgrel=1
pkgdesc='Notepad++-like editor for Linux'
arch=('x86_64')
url='http://notepadqq.altervista.org/wp/'
license=('GPL3')
depends=('gcc-libs' 'glibc' 'qt5-base' 'qt5-svg' 'qt5-webkit')
makedepends=('git' 'qt5-tools')
options=('!emptydirs')
source=("git://github.com/notepadqq/notepadqq.git#tag=v$pkgver"
'git://github.com/notepadqq/CodeMirror.git')
sha256sums=('SKIP'
'SKIP')
prepare() {
cd $pkgname
git config submodule.src/editor/libs/codemirror.url "$srcdir/CodeMirror"
git submodule update --init
}
build() {
cd $pkgname
./configure --prefix /usr --qmake=qmake-qt5 --lrelease=lrelease-qt5
make
}
package() {
cd $pkgname
make INSTALL_ROOT="$pkgdir" install
}