diff options
author | haawda | 2020-08-07 21:31:13 +0200 |
---|---|---|
committer | haawda | 2020-08-07 21:31:13 +0200 |
commit | f20dc06573ce26c9679682d13ed6794b042226c2 (patch) | |
tree | 1fdd656cf3808273186b28f5efa2c99cb89413f5 /PKGBUILD | |
parent | 91ee77112df7616cc2da5cae29565475eedc1e18 (diff) | |
download | aur-f20dc06573ce26c9679682d13ed6794b042226c2.tar.gz |
use git submodules the Arch Way, fix dependencies
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 15 |
1 files changed, 11 insertions, 4 deletions
@@ -4,17 +4,21 @@ _gitname=CuteMarkEd-NG pkgname=cutemarked-git pkgver=20200625.r910 -pkgrel=1 +pkgrel=2 pkgdesc="Qt Markdown Editor" url="https://github.com/Waqar144/${_gitname}" arch=('i686' 'x86_64') license=('GPL2') -depends=('qt5-webengine' 'hunspell' 'discount' 'hicolor-icon-theme') +depends=('qt5-webengine') makedepends=('git' 'qt5-tools') provides=('cutemarked') conflicts=('cutemarked') -source=("git+$url.git") -md5sums=('SKIP') +source=("git+$url.git" + "git+https://github.com/hunspell/hunspell.git" + "git+https://github.com/mity/md4c" + "https://github.com/pbek/qmarkdowntextedit" + ) +md5sums=('SKIP' 'SKIP' 'SKIP' 'SKIP') pkgver() { cd $_gitname @@ -24,6 +28,9 @@ pkgver() { prepare() { cd $_gitname git submodule init + for __submodule in hunspell md4c qmarkdowntextedit + do git config submodule.${__submodule}.url "$srcdir"/${_gitname}/3rdparty/${__submodule} + done git submodule update } |