2018-01-31 16:30:19 +00:00
|
|
|
# Maintainer: larte <lauri.arte@gmail.com>
|
|
|
|
# Contributor: Maxwell Pray a.k.a. Synthead <synthead@gmail.com>
|
|
|
|
|
|
|
|
pkgname=draft-bin
|
|
|
|
pkgdesc="Draft client"
|
2018-04-12 08:22:45 +00:00
|
|
|
pkgver=0.13.0
|
2018-01-31 16:30:19 +00:00
|
|
|
pkgrel=1
|
|
|
|
arch=('i686' 'x86_64')
|
|
|
|
url="http://draft.sh"
|
|
|
|
license=('mit')
|
|
|
|
conflicts=()
|
|
|
|
_draft_file=draft-$pkgver
|
2018-04-12 08:22:45 +00:00
|
|
|
source_i686=($_draft_file::https://azuredraft.blob.core.windows.net/draft/draft-v0.13.0-linux-386.tar.gz )
|
|
|
|
source_x86_64=($_draft_file::https://azuredraft.blob.core.windows.net/draft/draft-v0.13.0-linux-amd64.tar.gz )
|
|
|
|
md5sums_i686=('3b1db30e50b2406eb8ec64f264cab30d')
|
|
|
|
md5sums_x86_64=('e55715d83d9749517bfa8b404f01b5ca')
|
2018-01-31 16:30:19 +00:00
|
|
|
|
|
|
|
package() {
|
|
|
|
FOLDER="linux-386"
|
|
|
|
if [[ $CARCH -eq 'x86_64' ]];
|
|
|
|
then
|
|
|
|
FOLDER="linux-amd64"
|
|
|
|
fi
|
|
|
|
|
|
|
|
install -Dm 755 "$srcdir/$FOLDER/draft" "$pkgdir/usr/bin/draft"
|
|
|
|
}
|