summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD14
2 files changed, 10 insertions, 9 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 7f01c5185ba..73ec9c9e1db 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = cargo-doc2readme-git
pkgdesc = cargo subcommand to create a readme file containing the rustdoc comments from your code
- pkgver = 0.0.8.r32.gac3529c
+ pkgver = 0.1.6.r3.g32f28f8
pkgrel = 1
url = https://github.com/msrd0/cargo-doc2readme
arch = aarch64
@@ -8,10 +8,7 @@ pkgbase = cargo-doc2readme-git
arch = x86_64
license = Apache
makedepends = cargo
- makedepends = libgit2
depends = gcc-libs
- depends = curl
- depends = libgit2.so=1.4
provides = cargo-doc2readme
conflicts = cargo-doc2readme
source = cargo-doc2readme-git::git+https://github.com/msrd0/cargo-doc2readme
diff --git a/PKGBUILD b/PKGBUILD
index cb7d04d7877..d759e6ea114 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
# Maintainer: Dominic Meiser [git at msrd0 dot de]
pkgname="cargo-doc2readme-git"
-pkgver=0.0.8.r32.gac3529c
+pkgver=0.1.6.r3.g32f28f8
pkgrel=1
pkgdesc='cargo subcommand to create a readme file containing the rustdoc comments from your code'
license=('Apache')
@@ -11,8 +11,8 @@ license=('Apache')
arch=('aarch64' 'i686' 'x86_64')
url="https://github.com/msrd0/cargo-doc2readme"
-depends=('gcc-libs' 'curl' 'libgit2.so=1.4')
-makedepends=('cargo' 'libgit2')
+depends=('gcc-libs')
+makedepends=('cargo')
conflicts=('cargo-doc2readme')
provides=('cargo-doc2readme')
source=("$pkgname::git+$url")
@@ -23,10 +23,14 @@ pkgver() {
git describe --long --tags | sed -E 's,^([0-9\.]+)-([0-9]+)-(g[0-9a-f]+)$,\1.r\2.\3,'
}
+prepare() {
+ cd "$srcdir/$pkgname"
+ cargo fetch --locked
+}
+
build() {
cd "$srcdir/$pkgname"
- LIBSSH2_SYS_USE_PKG_CONFIG='1' \
- cargo build --locked --release
+ cargo build --offline --locked --release
}
package() {