Skip to content

Commit

Permalink
chore: update PKGBUILD
Browse files Browse the repository at this point in the history
  • Loading branch information
numToStr committed Oct 4, 2022
1 parent 1f970a5 commit a8840cf
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions .aur/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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/"
}

0 comments on commit a8840cf

Please sign in to comment.