summaryrefslogtreecommitdiff
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD12
1 files changed, 10 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index cf6cc43..34df541 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=rkt
pkgver=0.7.0
-pkgrel=2
+pkgrel=3
pkgdesc="App container runtime"
arch=('x86_64')
url="https://github.com/coreos/rkt"
@@ -31,7 +31,15 @@ build() {
}
package() {
- cd "${pkgname}-${pkgver}/build-${pkgname}-${pkgver}"
+ cd "${pkgname}-${pkgver}"
+ local unit
+ for unit in rkt-gc.{timer,service} rkt-metadata.{socket,service}
+ do
+ install -Dm644 "dist/init/systemd/${unit}" \
+ "${pkgdir}/usr/lib/systemd/system/${unit}"
+ done
+
+ cd "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"