Package Details: cutemarked-git 20210729.r935-2

Git Clone URL: https://aur.archlinux.org/cutemarked-git.git (read-only, click to copy)
Package Base: cutemarked-git
Description: Qt Markdown Editor
Upstream URL: https://github.com/Waqar144/CuteMarkEd-NG
Licenses: GPL2
Conflicts: cutemarked
Provides: cutemarked
Submitter: Aetf
Maintainer: None
Last Packager: haawda
Votes: 5
Popularity: 0.000000
First Submitted: 2015-02-01 09:07 (UTC)
Last Updated: 2022-10-23 10:48 (UTC)

Latest Comments

ccorn commented on 2020-09-05 20:34 (UTC)

Some fixes: URLs, whitespace, and getting the submodules URL config right. (Note that hunspell has an extra subdir level, therefore I unrolled the loop.)

--- a/PKGBUILD
+++ b/PKGBUILD
@@ -14,23 +14,23 @@ makedepends=('git' 'qt5-tools')
 provides=('cutemarked')
 conflicts=('cutemarked')
 source=("git+$url.git"
-   "git+https://github.com/hunspell/hunspell.git"
-   "git+https://github.com/mity/md4c"
-   "https://github.com/pbek/qmarkdowntextedit"
+        "git+https://github.com/hunspell/hunspell.git"
+        "git+https://github.com/mity/md4c.git"
+        "git+https://github.com/pbek/qmarkdowntextedit.git"
        )
 md5sums=('SKIP' 'SKIP' 'SKIP' 'SKIP')

 pkgver() {
   cd $_gitname
-   printf "%s.r%s" $(git log -1 --format="%cd" --date=short | tr -d '-') $(git rev-list --count HEAD)
+  printf "%s.r%s" $(git log -1 --format="%cd" --date=short | tr -d '-') $(git rev-list --count HEAD)
 }

 prepare() {
   cd $_gitname
   git submodule init
-  for __submodule in hunspell md4c qmarkdowntextedit
-  do git config submodule.${__submodule}.url "$srcdir"/${_gitname}/3rdparty/${__submodule}
-  done
+  git config submodule.3rdparty/hunspell/hunspell.url "${srcdir}/hunspell"
+  git config submodule.3rdparty/md4c.url "${srcdir}/md4c"
+  git config submodule.3rdparty/qmarkdowntextedit.url "${srcdir}/qmarkdowntextedit"
   git submodule update
 }

FabioLolix commented on 2020-04-20 20:32 (UTC)

Please change url to https://cloose.github.io/CuteMarkEd/