diff options
author | juliustin | 2023-08-28 09:27:11 +0200 |
---|---|---|
committer | juliustin | 2023-08-28 09:27:11 +0200 |
commit | df844a9bf2f0aaf834fc08db36cb880c5b417750 (patch) | |
tree | e3caa16709ede123803638b492c3b27537b76943 | |
parent | 9ec7ce9f9e940208dbb759493b495533bbbe696d (diff) | |
download | aur-df844a9bf2f0aaf834fc08db36cb880c5b417750.tar.gz |
Update to 0.3.0 and track tag from now on
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 11 |
2 files changed, 5 insertions, 10 deletions
@@ -1,13 +1,13 @@ pkgbase = polylux2pdfpc pkgdesc = pdfpc extractor for polylux, a package for creating slides in Typst - pkgver = r263.c0032a0 + pkgver = 0.3.0 pkgrel = 1 url = https://github.com/andreasKroepelin/polylux arch = x86_64 license = MIT makedepends = git makedepends = cargo - source = git+https://github.com/andreasKroepelin/polylux.git + source = git+https://github.com/andreasKroepelin/polylux#tag=v0.3.0 sha256sums = SKIP pkgname = polylux2pdfpc @@ -3,7 +3,7 @@ pkgname=polylux2pdfpc _reponame=polylux _dirname=pdfpc-extractor -pkgver=r263.c0032a0 +pkgver=0.3.0 pkgrel=1 pkgdesc='pdfpc extractor for polylux, a package for creating slides in Typst' arch=(x86_64) @@ -11,14 +11,9 @@ url='https://github.com/andreasKroepelin/polylux' license=(MIT) depends=() makedepends=(git cargo) -source=("git+$url.git") +source=("git+$url#tag=v$pkgver") sha256sums=('SKIP') -pkgver() { - cd "$srcdir/$_reponame" - printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" -} - prepare() { export RUSTUP_TOOLCHAIN=stable cargo fetch --locked --manifest-path "$_reponame/$_dirname/Cargo.toml" --target "$CARCH-unknown-linux-gnu" @@ -31,7 +26,7 @@ build() { } package() { - install -Dm755 "$_reponame/$_dirname/target/release/$pkgname" "$pkgdir/usr/bin/$pkgname" + install -Dm755 "target/release/$pkgname" "$pkgdir/usr/bin/$pkgname" # Package licenses install -Dm644 "$_reponame/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" |