mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
35 lines
739 B
Bash
35 lines
739 B
Bash
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
|
|
}
|