Created
May 14, 2017 08:15
-
-
Save graysky2/bdf162670339dfad621d9f95301b849c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- a/PKGBUILD 2017-05-14 04:09:08.836844286 -0400 | |
+++ b/PKGBUILD 2017-05-14 04:14:53.245802007 -0400 | |
@@ -1,4 +1,4 @@ | |
-# $Id: PKGBUILD 227876 2017-05-12 16:33:16Z spupykin $ | |
+# $Id: PKGBUILD 227875 2017-05-12 16:32:55Z spupykin $ | |
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> | |
# Contributor: Andrea Zucchelli <zukka77@gmail.com> | |
# Contributor: Daniel Micay <danielmicay@gmail.com> | |
@@ -8,7 +8,7 @@ | |
pkgname=lxc | |
epoch=1 | |
pkgver=2.0.8 | |
-pkgrel=1 | |
+pkgrel=2 | |
pkgdesc="Linux Containers" | |
arch=('i686' 'x86_64') | |
url="http://linuxcontainers.org" | |
@@ -27,15 +27,19 @@ validpgpkeys=('602F567663E593BCBD14F338C | |
source=("https://linuxcontainers.org/downloads/$pkgname-${pkgver}.tar.gz"{,.asc} | |
"lxc.tmpfiles.d" | |
"lxc.service" | |
+ "https://github.com/brauner/lxc/commit/57927bf2550feccadba2127a193023e7c54d9ca4.patch" | |
"lxc-auto.service") | |
sha256sums=('0d8e34b302cfe4c40c6c9ae5097096aa5cc2c1dfceea3f0f22e3e16c4a4e8494' | |
'SKIP' | |
'10e4f661872f773bf3122a2f9f2cb13344fea86a4ab72beecb4213be4325c479' | |
'711fb84c87b143cb0098e095fdebb040b15f553a854efbe846a00100bdb9ae88' | |
+ '3f5017b4aa67dd85506a58b70badfd22ceec2f9a3347dbf057a4013bba1e5b50' | |
'4174fcc0a664108f1884920930a3dbec0aeceed1fc24f00c200a583c06d447d0') | |
prepare() { | |
cd "$srcdir/$pkgname-${pkgver/_/-}" | |
+ patch -Np1 -i "$srcdir/57927bf2550feccadba2127a193023e7c54d9ca4.patch" | |
+ | |
sed -i \ | |
-e 's|"\\"-//Davenport//DTD DocBook V3.0//EN\\""|"\\"-//OASIS//DTD DocBook XML\\" \\"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd\\""|' \ | |
configure.ac | |
@@ -48,6 +52,7 @@ prepare() { | |
sed -i \ | |
-e "s|name='_lxc'|name='lxc'|" \ | |
src/python-lxc/setup.py.in | |
+ | |
} | |
build() { |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment