1
0
mirror of https://github.com/balkian/draft-bin.git synced 2025-04-24 13:49:06 +00:00

Compare commits

...

2 Commits

Author SHA1 Message Date
J. Fernando Sánchez
2fcc6f2a7b update SRCINFO 2025-03-25 18:28:34 +01:00
J. Fernando Sánchez
68c4017fb4 Bump to v0.17.6 and add arm64 2025-03-25 18:24:06 +01:00
2 changed files with 14 additions and 22 deletions

View File

@ -1,15 +1,14 @@
pkgbase = draft-bin
pkgdesc = Draft client
pkgver = 0.16.0
pkgver = 0.17.6
pkgrel = 1
url = http://draft.sh
arch = i686
arch = x86_64
arch = aarch64
license = mit
source_i686 = draft-0.16.0::https://azuredraft.blob.core.windows.net/draft/draft-v0.16.0-linux-386.tar.gz
md5sums_i686 = 1dfba3cbf5ddc72d171e57e9621fa8a6
source_x86_64 = draft-0.16.0::https://azuredraft.blob.core.windows.net/draft/draft-v0.16.0-linux-amd64.tar.gz
md5sums_x86_64 = 74bf02078018cbca80f15c25cea45907
source_x86_64 = draft-0.17.6::https://github.com/Azure/draft/releases/download/v0.17.6/draft-linux-amd64
md5sums_x86_64 = de77390d33a13a32c4de2b7b10df2ca8
source_aarch64 = draft-0.17.6::https://github.com/Azure/draft/releases/download/v0.17.6/draft-linux-arm64
md5sums_aarch64 = 180f700055ad0fc4a6e72c6ee246f07d
pkgname = draft-bin

View File

@ -1,26 +1,19 @@
# Maintainer: larte <lauri.arte@gmail.com>
# Contributor: Maxwell Pray a.k.a. Synthead <synthead@gmail.com>
# Maintainer: larte <balkian@gmail.com>
pkgname=draft-bin
pkgdesc="Draft client"
pkgver=0.16.0
pkgver=0.17.6
pkgrel=1
arch=('i686' 'x86_64')
arch=('x86_64' 'aarch64')
url="http://draft.sh"
license=('mit')
conflicts=()
_draft_file=draft-$pkgver
source_i686=($_draft_file::https://azuredraft.blob.core.windows.net/draft/draft-v0.16.0-linux-386.tar.gz )
source_x86_64=($_draft_file::https://azuredraft.blob.core.windows.net/draft/draft-v0.16.0-linux-amd64.tar.gz )
md5sums_i686=('1dfba3cbf5ddc72d171e57e9621fa8a6')
md5sums_x86_64=('74bf02078018cbca80f15c25cea45907')
source_x86_64=($_draft_file::https://github.com/Azure/draft/releases/download/v0.17.6/draft-linux-amd64 )
source_aarch64=($_draft_file::https://github.com/Azure/draft/releases/download/v0.17.6/draft-linux-arm64 )
md5sums_x86_64=('de77390d33a13a32c4de2b7b10df2ca8')
md5sums_aarch64=('180f700055ad0fc4a6e72c6ee246f07d')
package() {
FOLDER="linux-386"
if [[ $CARCH -eq 'x86_64' ]];
then
FOLDER="linux-amd64"
fi
install -Dm 755 "$srcdir/$FOLDER/draft" "$pkgdir/usr/bin/draft"
install -Dm 755 "$srcdir/draft-$pkgver" "$pkgdir/usr/bin/draft"
}