[arch-commits] Commit in ostree/repos (4 files)

Christian Hesse <ewor at archlinux.org Christian Hesse <ewor at archlinux.org
Tue Aug 2 07:12:51 UTC 2016


    Date: Tuesday, August 2, 2016 @ 07:12:50
  Author: eworm
Revision: 272815

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  ostree/repos/testing-i686/
  ostree/repos/testing-i686/PKGBUILD
    (from rev 272814, ostree/trunk/PKGBUILD)
  ostree/repos/testing-x86_64/
  ostree/repos/testing-x86_64/PKGBUILD
    (from rev 272814, ostree/trunk/PKGBUILD)

-------------------------+
 testing-i686/PKGBUILD   |   65 ++++++++++++++++++++++++++++++++++++++++++++++
 testing-x86_64/PKGBUILD |   65 ++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 130 insertions(+)

Copied: ostree/repos/testing-i686/PKGBUILD (from rev 272814, ostree/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2016-08-02 07:12:50 UTC (rev 272815)
@@ -0,0 +1,65 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Mirco Tischler <mt-ml at gmx dot de>
+
+pkgname=ostree
+pkgver=2016.7
+pkgrel=1
+pkgdesc="Git for operating system binaries"
+url="https://ostree.readthedocs.org/en/latest/"
+arch=(i686 x86_64)
+license=(GPL)
+depends=(glib2 libgsystem xz zlib libsoup gpgme libarchive fuse util-linux
+         mkinitcpio)
+makedepends=(e2fsprogs gobject-introspection gtk-doc libxslt systemd git
+             python2)
+checkdepends=(parallel syslinux gjs)
+source=("git+https://github.com/ostreedev/ostree#tag=v$pkgver"
+        "git+https://git.gnome.org/browse/libglnx"
+        "git+https://github.com/mendsley/bsdiff")
+sha256sums=('SKIP'
+            'SKIP'
+            'SKIP')
+
+prepare() {
+  cd $pkgname
+
+  git submodule init
+  git config --local submodule.libglnx.url "$srcdir/libglnx"
+  git config --local submodule.bsdiff.url "$srcdir/bsdiff"
+  git submodule update
+
+  find . -name '*.py' -exec sed -i '1s/python$/&2/' {} +
+
+  NOCONFIGURE=1 ./autogen.sh
+}
+
+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
+  # GPG is broken in build chroots ATM
+  #make -k check
+}
+
+package() {
+  cd $pkgname
+  make DESTDIR="$pkgdir" install
+}

Copied: ostree/repos/testing-x86_64/PKGBUILD (from rev 272814, ostree/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2016-08-02 07:12:50 UTC (rev 272815)
@@ -0,0 +1,65 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Mirco Tischler <mt-ml at gmx dot de>
+
+pkgname=ostree
+pkgver=2016.7
+pkgrel=1
+pkgdesc="Git for operating system binaries"
+url="https://ostree.readthedocs.org/en/latest/"
+arch=(i686 x86_64)
+license=(GPL)
+depends=(glib2 libgsystem xz zlib libsoup gpgme libarchive fuse util-linux
+         mkinitcpio)
+makedepends=(e2fsprogs gobject-introspection gtk-doc libxslt systemd git
+             python2)
+checkdepends=(parallel syslinux gjs)
+source=("git+https://github.com/ostreedev/ostree#tag=v$pkgver"
+        "git+https://git.gnome.org/browse/libglnx"
+        "git+https://github.com/mendsley/bsdiff")
+sha256sums=('SKIP'
+            'SKIP'
+            'SKIP')
+
+prepare() {
+  cd $pkgname
+
+  git submodule init
+  git config --local submodule.libglnx.url "$srcdir/libglnx"
+  git config --local submodule.bsdiff.url "$srcdir/bsdiff"
+  git submodule update
+
+  find . -name '*.py' -exec sed -i '1s/python$/&2/' {} +
+
+  NOCONFIGURE=1 ./autogen.sh
+}
+
+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
+  # GPG is broken in build chroots ATM
+  #make -k check
+}
+
+package() {
+  cd $pkgname
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list