diff options
author | TurtleRuss | 2024-03-26 01:27:22 +0800 |
---|---|---|
committer | TurtleRuss | 2024-03-26 01:27:22 +0800 |
commit | ba5471f823609759147e660b20be918ab40ea935 (patch) | |
tree | 1fd661163afebe20f31e0223833b82e09ab8b3ba | |
parent | 84b26d6adbd9f05e38e21437c064a88cbd0957b5 (diff) | |
download | aur-ba5471f823609759147e660b20be918ab40ea935.tar.gz |
update version to 1.1.2
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 18 | ||||
-rw-r--r-- | hustmirror-cli.patch (renamed from hustmirror-cli-stable.patch) | 0 |
3 files changed, 12 insertions, 14 deletions
@@ -1,13 +1,13 @@ pkgbase = hustmirror-cli pkgdesc = The command line tool (hustmirror-cli) is a small tool that can help you quickly change sources to HUST mirror sources. - pkgver = 1.1.1 + pkgver = 1.1.2 pkgrel = 1 - url = https://gitee.com/hustmirror/hustmirror-cli + url = https://github.com/hust-open-atom-club/hustmirror-cli arch = x86_64 license = GPL makedepends = make - source = hustmirror-cli-stable.tar.gz::https://gitee.com/hustmirror/hustmirror-cli/repository/archive/stable.tar.gz - source = hustmirror-cli-stable.patch + source = hustmirror-cli-1.1.2.tar.gz::https://github.com/hust-open-atom-club/hustmirror-cli/archive/refs/tags/v1.1.2.tar.gz + source = hustmirror-cli.patch source = hustmirror-cli-makefile.patch sha256sums = SKIP sha256sums = a08dfc1246edcb721505d717dff36abdaa4aee0f1a74c02d4eece69f563cb5e8 @@ -1,12 +1,12 @@ # Maintainer:TurtleRuss <tttturtleruss@gmail.com> pkgname=hustmirror-cli -pkgver=1.1.1 +pkgver=1.1.2 pkgrel=1 epoch= pkgdesc="The command line tool (hustmirror-cli) is a small tool that can help you quickly change sources to HUST mirror sources." arch=('x86_64') license=('GPL') -url='https://gitee.com/hustmirror/hustmirror-cli' +url='https://github.com/hust-open-atom-club/hustmirror-cli' groups=() depends=() makedepends=('make') @@ -19,8 +19,8 @@ backup=() options=() install= changelog= -source=("$pkgname-stable.tar.gz::${url}/repository/archive/stable.tar.gz" - "$pkgname-stable.patch" +source=("$pkgname-${pkgver}.tar.gz::${url}/archive/refs/tags/v${pkgver}.tar.gz" + "$pkgname.patch" "$pkgname-makefile.patch") noextract=() sha256sums=('SKIP' @@ -29,20 +29,18 @@ sha256sums=('SKIP' validpgpkeys=() prepare() { - cd "$pkgname-stable" - patch -p1 -i "$srcdir/$pkgname-stable.patch" + cd "$pkgname-${pkgver}" + patch -p1 -i "$srcdir/$pkgname.patch" patch -p1 -i "$srcdir/$pkgname-makefile.patch" - echo "$pkgdir/usr/local/bin" mkdir -p "$pkgdir/usr/local/bin" } build() { - cd "$pkgname-stable" + cd "$pkgname-${pkgver}" make } package() { - cd "$pkgname-stable" - echo $pkgdir + cd "$pkgname-${pkgver}" make DESTDIR="$pkgdir/" install } diff --git a/hustmirror-cli-stable.patch b/hustmirror-cli.patch index 400e2074a6a1..400e2074a6a1 100644 --- a/hustmirror-cli-stable.patch +++ b/hustmirror-cli.patch |