makedeb
A CLI ProGet client
Click here to go back to the commit logs for pg.
Hash: 6bd3115920dccaeff262188ab3d46c5e92b21b84
Message: Bump version to '0.1.3-1'
diff --git a/.SRCINFO b/.SRCINFO
index 6962018..a0b98fc 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -3,11 +3,11 @@ pkgname = pg
pkgbase = pg
pkgdesc = A CLI ProGet client
pkgrel = 1
-pkgver = 0.1.1
+pkgver = 0.1.3
url = https://github.com/hwittenborn/proget-cli
arch = any
license = GPL-3.0
makedepends = cargo
-source = https://github.com/hwittenborn/proget-cli/archive/refs/tags/v0.1.1.tar.gz
+source = https://github.com/hwittenborn/proget-cli/archive/refs/tags/v0.1.3.tar.gz
sha256sums = SKIP
makedepends = cargo
diff --git a/PKGBUILD b/PKGBUILD
index 38d5d1d..18b35cd 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,24 +1,25 @@
# Maintainer: Hunter Wittenborn <hunter@hunterwittenborn.com>
+_pkgname=proget-cli
pkgname=pg
-pkgver=0.1.1
+pkgver=0.1.3
pkgrel=1
pkgdesc='A CLI ProGet client'
arch=('any')
makedepends=('cargo')
license=('GPL-3.0')
-url='https://github.com/hwittenborn/proget-cli'
+url="https://github.com/hwittenborn/${_pkgname}"
source=("${url}/archive/refs/tags/v${pkgver}.tar.gz")
sha256sums=('SKIP')
build() {
- cd "${pkgname}-${pkgver}/"
+ cd "${_pkgname}-${pkgver}/"
cargo build --release
}
package() {
- cd "${pkgname}-${pkgver}/"
- install -Dm 755 target/release/pg "${pkgdir}/usr/bin/pg"
+ cd "${_pkgname}-${pkgver}/"
+ install -Dm 755 "target/release/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
}
# vim: set sw=4 expandtab: