[arch-commits] Commit in ostree/repos (4 files)
Christian Hesse
eworm at archlinux.org
Thu Mar 9 15:48:12 UTC 2017
Date: Thursday, March 9, 2017 @ 15:48:11
Author: eworm
Revision: 290218
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
ostree/repos/testing-i686/
ostree/repos/testing-i686/PKGBUILD
(from rev 290217, ostree/trunk/PKGBUILD)
ostree/repos/testing-x86_64/
ostree/repos/testing-x86_64/PKGBUILD
(from rev 290217, ostree/trunk/PKGBUILD)
-------------------------+
testing-i686/PKGBUILD | 70 ++++++++++++++++++++++++++++++++++++++++++++++
testing-x86_64/PKGBUILD | 70 ++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 140 insertions(+)
Copied: ostree/repos/testing-i686/PKGBUILD (from rev 290217, ostree/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2017-03-09 15:48:11 UTC (rev 290218)
@@ -0,0 +1,70 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Mirco Tischler <mt-ml at gmx dot de>
+
+pkgname=ostree
+pkgver=2016.15
+pkgrel=2
+pkgdesc="Operating system and container binary deployment and upgrades"
+url="https://ostree.readthedocs.org/en/latest/"
+arch=(i686 x86_64)
+license=(GPL)
+depends=(glib2 xz zlib libsoup gpgme libarchive fuse2 util-linux mkinitcpio)
+makedepends=(e2fsprogs gobject-introspection gtk-doc libxslt systemd git
+ python2)
+checkdepends=(parallel syslinux gjs cpio elfutils)
+_commit=c9d565a5a9b435b5d3ed64a96c14a1c110698f4c # tags/v2016.15^0
+source=("git+https://github.com/ostreedev/ostree#commit=$_commit"
+ "git+https://github.com/mendsley/bsdiff"
+ "git+https://git.gnome.org/browse/libglnx")
+sha256sums=('SKIP'
+ 'SKIP'
+ 'SKIP')
+
+prepare() {
+ cd $pkgname
+
+ git submodule init
+ git config --local submodule.bsdiff.url "$srcdir/bsdiff"
+ git config --local submodule.libglnx.url "$srcdir/libglnx"
+ git submodule update
+
+ find . -name '*.py' -exec sed -i '1s/python$/&2/' {} +
+
+ NOCONFIGURE=1 ./autogen.sh
+}
+
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/^v//;s/-/+/g'
+}
+
+build() {
+ cd $pkgname
+
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --sbindir=/usr/bin \
+ --libexecdir=/usr/lib \
+ --with-mkinitcpio \
+ --with-builtin-grub2-mkconfig \
+ --disable-static \
+ --enable-gtk-doc
+
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
+ make
+}
+
+check() {
+ cd $pkgname
+ # Parallel tests lock up kernel in writeback code
+ make -j1 check
+}
+
+package() {
+ cd $pkgname
+ make DESTDIR="$pkgdir" install
+}
Copied: ostree/repos/testing-x86_64/PKGBUILD (from rev 290217, ostree/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2017-03-09 15:48:11 UTC (rev 290218)
@@ -0,0 +1,70 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Mirco Tischler <mt-ml at gmx dot de>
+
+pkgname=ostree
+pkgver=2016.15
+pkgrel=2
+pkgdesc="Operating system and container binary deployment and upgrades"
+url="https://ostree.readthedocs.org/en/latest/"
+arch=(i686 x86_64)
+license=(GPL)
+depends=(glib2 xz zlib libsoup gpgme libarchive fuse2 util-linux mkinitcpio)
+makedepends=(e2fsprogs gobject-introspection gtk-doc libxslt systemd git
+ python2)
+checkdepends=(parallel syslinux gjs cpio elfutils)
+_commit=c9d565a5a9b435b5d3ed64a96c14a1c110698f4c # tags/v2016.15^0
+source=("git+https://github.com/ostreedev/ostree#commit=$_commit"
+ "git+https://github.com/mendsley/bsdiff"
+ "git+https://git.gnome.org/browse/libglnx")
+sha256sums=('SKIP'
+ 'SKIP'
+ 'SKIP')
+
+prepare() {
+ cd $pkgname
+
+ git submodule init
+ git config --local submodule.bsdiff.url "$srcdir/bsdiff"
+ git config --local submodule.libglnx.url "$srcdir/libglnx"
+ git submodule update
+
+ find . -name '*.py' -exec sed -i '1s/python$/&2/' {} +
+
+ NOCONFIGURE=1 ./autogen.sh
+}
+
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/^v//;s/-/+/g'
+}
+
+build() {
+ cd $pkgname
+
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --sbindir=/usr/bin \
+ --libexecdir=/usr/lib \
+ --with-mkinitcpio \
+ --with-builtin-grub2-mkconfig \
+ --disable-static \
+ --enable-gtk-doc
+
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
+ make
+}
+
+check() {
+ cd $pkgname
+ # Parallel tests lock up kernel in writeback code
+ make -j1 check
+}
+
+package() {
+ cd $pkgname
+ make DESTDIR="$pkgdir" install
+}
More information about the arch-commits
mailing list