summaryrefslogtreecommitdiff
path: root/aur/rkt/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'aur/rkt/PKGBUILD')
-rw-r--r--aur/rkt/PKGBUILD16
1 files changed, 11 insertions, 5 deletions
diff --git a/aur/rkt/PKGBUILD b/aur/rkt/PKGBUILD
index 5c068e4..7db1d3f 100644
--- a/aur/rkt/PKGBUILD
+++ b/aur/rkt/PKGBUILD
@@ -1,22 +1,25 @@
# Maintainer: Yuval Adam <yuval at y3xz dot com> PGP-Key: 271386AA2EB7672F
# Contributor: Kenny Rasschaert <kenny dot rasschaert at gmail dot com> PGP-Key: 1F70454121E41419
# Contributor: Adrián Pérez de Castro <adrian at perezdecastro dor org> PGP-Key: 91C559DBE4C9123B
+# Contributor: Carl George <arch at cgtx dot us> PGP-Key: 4BA2F7E101D9F512
pkgname=rkt
pkgver=1.0.0
-pkgrel=2
+pkgrel=3
pkgdesc="App container runtime"
arch=('x86_64')
url="https://github.com/coreos/rkt"
license=(apache)
-depends=('glibc' 'openssl' 'trousers' 'zlib')
-makedepends=('cpio' 'automake' 'go' 'wget' 'squashfs-tools' 'perl-capture-tiny' \
+depends=('glibc' 'openssl' 'zlib')
+makedepends=('cpio' 'go' 'wget' 'squashfs-tools' 'perl-capture-tiny' \
'intltool' 'gperf' 'git' 'libseccomp')
provides=('rkt')
replaces=('rocket')
conflicts=('rocket')
-source=("https://github.com/coreos/rkt/archive/v${pkgver}.tar.gz")
-sha256sums=('7e30b03fa51a34db095484c4b111c526e49bead4e33232e1b239090503d7ac97')
+source=("https://github.com/coreos/rkt/archive/v${pkgver}.tar.gz"
+ "rkt.sysusers")
+sha256sums=('7e30b03fa51a34db095484c4b111c526e49bead4e33232e1b239090503d7ac97'
+ '1ad8d343191be731289577d249a2467fbe5a69949117601e760b459f599d311f')
install="${pkgname}.install"
prepare() {
@@ -27,6 +30,7 @@ prepare() {
build() {
cd "${pkgname}-${pkgver}"
./configure --prefix=/usr \
+ --enable-tpm=auto \
--with-stage1-flavors=coreos \
--with-stage1-default-location=/usr/lib/rkt/stage1.aci
make -s
@@ -41,6 +45,8 @@ package() {
"${pkgdir}/usr/lib/systemd/system/${unit}"
done
+ install -Dm644 "dist/init/systemd/tmpfiles.d/rkt.conf" "${pkgdir}/usr/lib/tmpfiles.d/rkt.conf"
+ install -Dm644 "${srcdir}/rkt.sysusers" "${pkgdir}/usr/lib/sysusers.d/rkt.conf"
install -Dm644 "dist/bash_completion/rkt.bash" "${pkgdir}/usr/share/bash-completion/completions/rkt"
cd "build-${pkgname}-${pkgver}"