diff options
author | coder3101 | 2020-05-27 04:58:28 +0000 |
---|---|---|
committer | coder3101 | 2020-05-27 04:58:28 +0000 |
commit | 99afd3d94d16dc79c6573c6db2caf62fb5849eb0 (patch) | |
tree | e5db0cf2f972956948e599403fff07847c6be9fc /PKGBUILD | |
parent | 48536b6ee174c5a49602d3d57cb74dc0d975588d (diff) | |
download | aur-99afd3d94d16dc79c6573c6db2caf62fb5849eb0.tar.gz |
Update from CI: 6.4.5.r38.g88da1f4
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 20 |
1 files changed, 10 insertions, 10 deletions
@@ -2,7 +2,7 @@ pkgname=cpeditor-git _pkgname=cpeditor -pkgver=6.4.5.r37.g936afae +pkgver=6.4.5.r38.g88da1f4 pkgrel=1 pkgdesc='The editor for competitive programming' arch=('x86_64') @@ -30,30 +30,30 @@ source=('git://github.com/cpeditor/cpeditor.git' md5sums=('SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP') pkgver() { - cd $_pkgname + cd "$_pkgname" git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' } prepare() { - cd $_pkgname + cd "$_pkgname" git submodule init - git config submodule.third_party/QCodeEditor.url $srcdir/QCodeEditor - git config submodule.third_party/QtFindReplaceDialog.url $srcdir/QtFindReplaceDialog - git config submodule.third_party/lsp-cpp.url $srcdir/lsp-cpp - git config submodule.third_party/singleapplication.url $srcdir/singleapplication - git config submodule.third_party/testlib.url $srcdir/testlib + git config submodule.third_party/QCodeEditor.url "$srcdir/QCodeEditor" + git config submodule.third_party/QtFindReplaceDialog.url "$srcdir/QtFindReplaceDialog" + git config submodule.third_party/lsp-cpp.url "$srcdir/lsp-cpp" + git config submodule.third_party/singleapplication.url "$srcdir/singleapplication" + git config submodule.third_party/testlib.url "$srcdir/testlib" git submodule update } build() { - cd $_pkgname + cd "$_pkgname" cmake -H. -Bbuild -DCMAKE_INSTALL_PREFIX=/usr cmake --build build -j$(nproc) } package() { - cd $_pkgname/build + cd "$_pkgname/build" make DESTDIR="$pkgdir" install } |