From 1b6dc0d77d5a49faff4614a0541d3f43893a87c6 Mon Sep 17 00:00:00 2001 From: timvisee Date: Mon, 4 Mar 2019 13:11:34 +0100 Subject: [PATCH] Fix incorrect package name in Arch AUR package builds --- pkg/aur/git/PKGBUILD | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/aur/git/PKGBUILD b/pkg/aur/git/PKGBUILD index f7e9fcd..85bdaa6 100644 --- a/pkg/aur/git/PKGBUILD +++ b/pkg/aur/git/PKGBUILD @@ -8,7 +8,7 @@ url="https://gitlab.com/timvisee/ffsend" license=('GPL3') provides=('ffsend=$pkgver') conflicts=('ffsend') -source=("ffsend-v$pkgver.tar.gz::$url/-/archive/v$pkgver/ffsend-v$pkgver.tar.gz") +source=("$pkgname-v$pkgver.tar.gz::$url/-/archive/v$pkgver/ffsend-v$pkgver.tar.gz") sha256sums=('SKIP') arch=('x86_64' 'i686') depends=('ca-certificates') @@ -16,13 +16,13 @@ makedepends=('openssl>=1.0' 'rust' 'cargo' 'cmake') optdepends=('xclip: clipboard support') pkgver() { - cd "ffsend-v$pkgver" + cd "$pkgname-v$pkgver" echo "$(grep '^version =' Cargo.toml|head -n1|cut -d\" -f2)" #.$(git rev-list --count HEAD).g$(git rev-parse --short HEAD) } build() { - cd "ffsend-v$pkgver" + cd "$pkgname-v$pkgver" env CARGO_INCREMENTAL=0 cargo build --release }