# Maintainer: Yuval Adam PGP-Key: 271386AA2EB7672F # Contributor: Kenny Rasschaert PGP-Key: 1F70454121E41419 # Contributor: Adrián Pérez de Castro PGP-Key: 91C559DBE4C9123B pkgname=rkt pkgver=0.7.0 pkgrel=2 pkgdesc="App container runtime" arch=('x86_64') url="https://github.com/coreos/rkt" license=(apache) depends=('glibc') makedepends=('cpio' 'go' 'squashfs-tools' 'perl-capture-tiny') provides=('rkt') replaces=('rocket') conflicts=('rocket') source=("https://github.com/coreos/rkt/archive/v${pkgver}.tar.gz") sha256sums=('1e5996c9c26a69f107d9d4f8dd2a3e55ca3a9b8491ecbd9fe2dfe423c7c384ce') prepare() { cd "${pkgname}-${pkgver}" ./autogen.sh } build() { cd "${pkgname}-${pkgver}" ./configure --prefix=/usr \ --with-stage1=coreos \ --with-stage1-image-path=/usr/share/rkt/stage1.aci make -s } package() { cd "${pkgname}-${pkgver}/build-${pkgname}-${pkgver}" install -Dm755 bin/rkt "$pkgdir/usr/bin/rkt" install -Dm755 bin/actool "$pkgdir/usr/bin/actool" install -Dm644 bin/stage1.aci "$pkgdir/usr/share/rkt/stage1.aci" } # vim:set ts=2 sw=2 et: