summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2a7266dd6b19f90fca15136480ab0df20c99c03a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Maintainer: Danilo Kuehn <dk[at]nogo-software[dot]de>

_pkgname=dry
_pkgver=v0.6-beta.2
_pkgdownload=${_pkgname}_${_pkgver}
pkgname=dry-bin
pkgver=0.6
pkgrel=7
pkgdesc="dry is a terminal application to manage Docker containers and images"
url="http://moncho.github.io/dry/"
arch=('x86_64' 'i686')
license=('MIT')
depends=('docker')
if test "$CARCH" == i686; then
source=(
  "${_pkgdownlad}::https://github.com/moncho/dry/releases/download/${_pkgver}/dry-linux-386"
)
sha256sums=(
  '96adbdb64122a019462392539a6cef7c4b7b089b2e73d68617cb686c57798ef7'
)
else
source=(
  "${_pkgdownload}::https://github.com/moncho/dry/releases/download/${_pkgver}/dry-linux-amd64"
)
sha256sums=(
  'aa3897a7257216fe6edd017e9a38abf49b26244f4963de171ff0f8b79a89f66d'
)
fi

package() {
  install -Dm755 "${srcdir}/${_pkgdownload}" "${pkgdir}/usr/bin/${_pkgname}"
}