summaryrefslogtreecommitdiff
path: root/community/lxc/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/lxc/PKGBUILD')
-rw-r--r--community/lxc/PKGBUILD17
1 files changed, 12 insertions, 5 deletions
diff --git a/community/lxc/PKGBUILD b/community/lxc/PKGBUILD
index dd256109d..f0583f4d6 100644
--- a/community/lxc/PKGBUILD
+++ b/community/lxc/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 93086 2013-06-24 09:48:17Z spupykin $
+# $Id: PKGBUILD 103083 2013-12-26 10:01:37Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Andrea Zucchelli <zukka77@gmail.com>
# Contributor: Daniel Micay <danielmicay@gmail.com>
@@ -8,16 +8,21 @@
pkgname=lxc
pkgver=0.9.0
epoch=1
-pkgrel=4
+pkgrel=5
pkgdesc="Linux Containers"
arch=('i686' 'x86_64' 'mips64el')
-url="http://lxc.sourceforge.net/"
+url="http://linuxcontainers.org"
depends=('bash' 'perl' 'libseccomp')
makedepends=('docbook2x')
optdepends=('arch-install-scripts: for archlinux template')
license=('LGPL')
-source=("http://lxc.sourceforge.net/download/lxc/$pkgname-${pkgver/_/-}.tar.gz")
-md5sums=('8552a4479090616f4bc04d8473765fc9')
+install=lxc.install
+source=("http://linuxcontainers.org/downloads/$pkgname-${pkgver}.tar.gz"
+ "lxc.tmpfiles.d"
+ "lxc@.service")
+md5sums=('8552a4479090616f4bc04d8473765fc9'
+ 'df94c9fb8a753011c86ee664e9f521ff'
+ '8003139e60ea66c05460660f31780706')
prepare() {
cd "$srcdir/$pkgname-${pkgver/_/-}"
@@ -45,6 +50,8 @@ package() {
make DESTDIR="$pkgdir" install
install -d -m755 "$pkgdir/var/lib/lxc"
+ install -D -m644 ${srcdir}/lxc@.service ${pkgdir}/usr/lib/systemd/system/lxc@.service
+ install -D -m644 ${srcdir}/lxc.tmpfiles.d ${pkgdir}/usr/lib/tmpfiles.d/lxc.conf
cd doc
find . -type f -name '*.1' -exec install -D -m644 "{}" "$pkgdir/usr/share/man/man1/{}" \;