mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-23 17:33:20 +08:00
notepadqq: imported FS1847
This commit is contained in:
parent
c942b6dd06
commit
1058d95dd5
34
notepadqq/PKGBUILD
Normal file
34
notepadqq/PKGBUILD
Normal 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
|
||||
}
|
Loading…
Reference in New Issue
Block a user