diff --git a/.aur/PKGBUILD b/.aur/PKGBUILD index 91d0df2..7a77295 100644 --- a/.aur/PKGBUILD +++ b/.aur/PKGBUILD @@ -4,21 +4,16 @@ pkgname={{NAME}} pkgver={{VERSION}} pkgrel=1 pkgdesc="{{DESC}}" -arch=('x86_64' 'aarch64' 'armv7') +arch=('x86_64' 'aarch64') url={{URL}} license=('MIT') -provides=($pkgname) -conflicts=($pkgname) -source_x86_64=("$url/releases/download/$pkgver/$pkgname-x86_64-unknown-linux-gnu.tar.gz") -md5sums_x86_64=(SKIP) +source_x86_64=("$pkgname-v${pkgver}-x86_64-unknown-linux-gnu.tar.gz::$url/releases/download/v$pkgver/$pkgname-x86_64-unknown-linux-gnu.tar.gz") +sha256sums_x86_64=(SKIP) -source_armv7=("$url/releases/download/$pkgver/$pkgname-armv7-unknown-linux-gnueabihf.tar.gz") -md5sums_armv7=(SKIP) - -source_aarch64=("$url/releases/download/$pkgver/$pkgname-aarch64-unknown-linux-gnu.tar.gz") -md5sums_aarch64=(SKIP) +source_aarch64=("$pkgname-v${pkgver}-aarch64-unknown-linux-gnu.tar.gz::$url/releases/download/v$pkgver/$pkgname-aarch64-unknown-linux-gnu.tar.gz") +sha256sums_aarch64=(SKIP) package() { - install -Dm755 "${srcdir}/${pkgname}" "${pkgdir}/usr/bin/${pkgname}" + install -Dm755 "${srcdir}/${pkgname}" -t "${pkgdir}/usr/bin/" }