summaryrefslogtreecommitdiff
path: root/aur
diff options
context:
space:
mode:
authorYuval Adam <yuval@y3xz.com>2016-02-07 10:59:01 +0200
committerYuval Adam <yuval@y3xz.com>2016-02-07 10:59:01 +0200
commit300a2076e197b71597756b6c664655d139fc9c3f (patch)
treef5fe34b3dfc4742705d288db720d9f2b0c55b601 /aur
parentf0446e4878b373f40d659771570ffc1a9da95de8 (diff)
rkt package enhancements
makedeps cleanup, tmpfiles creation in post_install() and remove groups on post_remove()
Diffstat (limited to 'aur')
-rw-r--r--aur/rkt/.SRCINFO12
-rw-r--r--aur/rkt/PKGBUILD5
-rw-r--r--aur/rkt/rkt.install6
3 files changed, 12 insertions, 11 deletions
diff --git a/aur/rkt/.SRCINFO b/aur/rkt/.SRCINFO
index 9d0d4b5..f4c3f7d 100644
--- a/aur/rkt/.SRCINFO
+++ b/aur/rkt/.SRCINFO
@@ -1,22 +1,18 @@
# Generated by mksrcinfo v8
-# Fri Feb 5 14:57:43 UTC 2016
+# Sun Feb 7 08:57:49 UTC 2016
pkgbase = rkt
pkgdesc = App container runtime
pkgver = 1.0.0
- pkgrel = 3
+ pkgrel = 4
url = https://github.com/coreos/rkt
install = rkt.install
arch = x86_64
license = apache
makedepends = cpio
+ makedepends = git
makedepends = go
- makedepends = wget
makedepends = squashfs-tools
- makedepends = perl-capture-tiny
- makedepends = intltool
- makedepends = gperf
- makedepends = git
- makedepends = libseccomp
+ makedepends = wget
depends = glibc
depends = openssl
depends = zlib
diff --git a/aur/rkt/PKGBUILD b/aur/rkt/PKGBUILD
index 7db1d3f..87cc9e9 100644
--- a/aur/rkt/PKGBUILD
+++ b/aur/rkt/PKGBUILD
@@ -5,14 +5,13 @@
pkgname=rkt
pkgver=1.0.0
-pkgrel=3
+pkgrel=4
pkgdesc="App container runtime"
arch=('x86_64')
url="https://github.com/coreos/rkt"
license=(apache)
depends=('glibc' 'openssl' 'zlib')
-makedepends=('cpio' 'go' 'wget' 'squashfs-tools' 'perl-capture-tiny' \
- 'intltool' 'gperf' 'git' 'libseccomp')
+makedepends=('cpio' 'git' 'go' 'squashfs-tools' 'wget')
provides=('rkt')
replaces=('rocket')
conflicts=('rocket')
diff --git a/aur/rkt/rkt.install b/aur/rkt/rkt.install
index bf50e96..b223a9a 100644
--- a/aur/rkt/rkt.install
+++ b/aur/rkt/rkt.install
@@ -1,10 +1,16 @@
post_install () {
# Create group
systemd-sysusers rkt.conf
+ systemd-tmpfiles --create rkt.conf
}
post_upgrade () {
post_install "$@"
}
+post_remove () {
+ getent group rkt &>/dev/null && groupdel rkt &>/dev/null
+ true
+}
+
# vim:ts=2 sw=2 et ft=sh: