summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: bd4d65fe3792f5394a89d99d07d4a7de56c392a4 (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
# Maintainer: Kevin Houdebert <kevin@qwazerty.eu>

_pkgname=acbuild
pkgname=acbuild-git
pkgver=0.2.2
pkgrel=1
pkgdesc='Command line utility to build and modify App Container Images (ACIs), the container image format defined in the App Container (appc) spec.'
url='https://github.com/appc/acbuild'
license=('Apache')
arch=('i686' 'x86_64')
depends=('gnupg')
makedepends=('git' 'go')
provides=("$_pkgname")
conflicts=("$_pkgname")
source=('git+https://github.com/appc/acbuild.git')
md5sums=('SKIP')

build() {
  cd "$srcdir/$_pkgname"
  ./build
}

package() {
  cd "$srcdir/$_pkgname"

  install -Dm755 bin/acbuild "$pkgdir/usr/bin/acbuild"
  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$_pkgname/LICENSE"
}