Skip to content

Commit

Permalink
Merge pull request #5 from rasschaert/master
Browse files Browse the repository at this point in the history
Rocket needs the stage1.aci file in the same location as the rkt binary
  • Loading branch information
yuvadm committed Feb 20, 2015
2 parents b3d74e9 + 35812b3 commit 7c107cc
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions aur/rocket/PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Maintainer: Yuval Adam <yuval at y3xz dot com> PGP-Key: 271386AA2EB7672F
# Contributor: Kenny Rasschaert <kenny dot rasschaert at gmail dot com> PGP-Key: 1F70454121E41419

pkgname=rocket
pkgver=0.3.2
Expand All @@ -8,12 +9,18 @@ arch=('x86_64')
url="https://github.com/coreos/rocket"
license=(apache)
provides=('rocket')
source=("https://github.com/coreos/rocket/releases/download/v${pkgver}/${pkgname}-v${pkgver}.tar.gz")
sha1sums=('725988dbb3ae0690887bf0cef39a6208613cd5d5')
source=("https://github.com/coreos/rocket/archive/v${pkgver}.tar.gz")
sha1sums=('9a90f122c0e52967c674f204db0fbc8817670e3b')

build() {
cd "${pkgname}-${pkgver}"
RKT_STAGE1_IMAGE=/usr/lib/rkt/stage1.aci ./build
}

package() {
cd $srcdir/${pkgname}-v${pkgver}
install -Dm755 rkt ${pkgdir}/usr/bin/rkt
cd "${pkgname}-${pkgver}"
install -Dm755 bin/rkt "$pkgdir/usr/bin/rkt"
install -Dm644 bin/stage1.aci "$pkgdir/usr/lib/rkt/stage1.aci"
}

# vim:set ts=2 sw=2 et:

0 comments on commit 7c107cc

Please sign in to comment.