diff options
author | jD91mZM2 | 2018-01-04 21:27:47 +0100 |
---|---|---|
committer | jD91mZM2 | 2018-01-04 21:28:07 +0100 |
commit | 52c5e530f25c451a872fd86dba41b18e7d90d2ea (patch) | |
tree | 62d137cbd5ab8a7848a6bf82b69ad41d2d09e80c | |
parent | 956391809b9eecb1a9db1483d0c1d183e39397bd (diff) | |
download | aur-52c5e530f25c451a872fd86dba41b18e7d90d2ea.tar.gz |
Submodule following the guidelines
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 17 |
2 files changed, 16 insertions, 7 deletions
@@ -1,7 +1,7 @@ pkgbase = synac-gtk-git pkgdesc = The synac GTK+ client - pkgver = r75.0927f0a - pkgrel = 2 + pkgver = r102.5ec8d10 + pkgrel = 1 url = https://github.com/synac-chat/client-gtk arch = x86_64 license = MIT, @@ -9,6 +9,8 @@ pkgbase = synac-gtk-git makedepends = git makedepends = rust source = synac-gtk-git::git+https://github.com/synac-chat/client-gtk + source = pulldown-cmark-patch::git+https://github.com/synac-chat/pulldown-cmark + sha256sums = SKIP sha256sums = SKIP pkgname = synac-gtk-git @@ -1,7 +1,7 @@ # Maintainer: jD91mZM2 <me@krake.one> pkgname="synac-gtk-git" -pkgver=r75.0927f0a -pkgrel=2 +pkgver=r102.5ec8d10 +pkgrel=1 pkgdesc="The synac GTK+ client" url="https://github.com/synac-chat/client-gtk" arch=("x86_64") @@ -9,18 +9,25 @@ license=("MIT", "custom:MIT") makedepends=("git" "rust") optdepends=() depends=() -source=("$pkgname::git+https://github.com/synac-chat/client-gtk") -sha256sums=("SKIP") +source=( + "$pkgname::git+https://github.com/synac-chat/client-gtk" + "pulldown-cmark-patch::git+https://github.com/synac-chat/pulldown-cmark" +) +sha256sums=("SKIP" "SKIP") pkgver() { cd "$pkgname" printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } -build() { +prepare() { cd "$srcdir/$pkgname" git submodule init + git config submodule.pulldown-cmark-patch.url "$srcdir/pulldown-cmark-patch" git submodule update +} +build() { + cd "$srcdir/$pkgname" cargo build --release } package() { |