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

Antonio Rojas arojas at archlinux.org
Sat Oct 15 11:43:01 UTC 2016


    Date: Saturday, October 15, 2016 @ 11:43:00
  Author: arojas
Revision: 192298

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

Added:
  appstream-generator/repos/community-i686/PKGBUILD
    (from rev 192297, appstream-generator/trunk/PKGBUILD)
  appstream-generator/repos/community-x86_64/PKGBUILD
    (from rev 192297, appstream-generator/trunk/PKGBUILD)
Deleted:
  appstream-generator/repos/community-i686/PKGBUILD
  appstream-generator/repos/community-x86_64/PKGBUILD

---------------------------+
 /PKGBUILD                 |   64 ++++++++++++++++++++++++++++++++++++++++++++
 community-i686/PKGBUILD   |   37 -------------------------
 community-x86_64/PKGBUILD |   37 -------------------------
 3 files changed, 64 insertions(+), 74 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2016-10-15 11:42:33 UTC (rev 192297)
+++ community-i686/PKGBUILD	2016-10-15 11:43:00 UTC (rev 192298)
@@ -1,37 +0,0 @@
-# $Id$
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-
-pkgname=appstream-generator
-pkgver=0.5.0
-pkgrel=2
-pkgdesc="A fast AppStream metadata generator"
-arch=(i686 x86_64)
-url="https://github.com/ximion/appstream-generator"
-license=(GPL3)
-depends=(appstream curl libarchive librsvg lmdb)
-makedepends=(gdc dub)
-source=("https://github.com/ximion/appstream-generator/releases/download/v$pkgver/$pkgname-$pkgver.tar.xz"
-        "https://github.com/ximion/d-bindings/archive/cec0ebdc70963fa92a1ed02877b2c794a634d0f7.zip"
-        asgen-fix-i686-build.patch::"https://github.com/ximion/appstream-generator/commit/3c0bdb95.patch"
-        asgen-fix-i686-build-2.patch::"https://github.com/ximion/appstream-generator/commit/608550b4.patch")
-sha256sums=('446b33752a65e4b2206e69848a4ad8c062cf4d5ff4af908253754651368eff39'
-            '6899abfd4c9bea7e634d86bc0b33caffe76ed40e86aee6b57c741a2aec58d047'
-            '8bf027d99afe1d19fee62508394a873ebe0d96e635c1ed9666edc4e42cd88487'
-            'cb99014886504ca6d08eae660bc0afcb89545d1512b8c75853e2eb95bd64aafd')
-
-prepare() {
-  cd $pkgname-$pkgver
-# Fix i686 build
-  patch -p1 -i ../asgen-fix-i686-build.patch
-  patch -p1 -i ../asgen-fix-i686-build-2.patch
-}
-
-build() {
-  cd $pkgname-$pkgver
-  make
-}
-
-package() {
-  cd $pkgname-$pkgver
-  make DESTDIR="$pkgdir" install
-}

Copied: appstream-generator/repos/community-i686/PKGBUILD (from rev 192297, appstream-generator/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2016-10-15 11:43:00 UTC (rev 192298)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=appstream-generator
+pkgver=0.6.0
+pkgrel=1
+pkgdesc="A fast AppStream metadata generator"
+arch=(i686 x86_64)
+url="https://github.com/ximion/appstream-generator"
+license=(GPL3)
+depends=(appstream libarchive librsvg lmdb)
+makedepends=(dmd meson ninja mustache-d curl)
+source=("https://github.com/ximion/appstream-generator/releases/download/v$pkgver/$pkgname-$pkgver.tar.xz")
+sha256sums=('68f538f2163004b8e2171c694233af401c2cd47a9ea1472265753a48b20600e3')
+
+prepare() {
+  mkdir -p build
+
+# fix build
+  sed -e 's/core.sys.linux.stdio/core.sys.posix.stdio/' -i $pkgname-$pkgver/src/asgen/utils.d
+}
+
+build() {
+  cd build
+  meson ../$pkgname-$pkgver -Ddownload_js=false --prefix=/usr
+  ninja -j1
+}
+
+package() {
+  cd build
+  DESTDIR="$pkgdir" ninja install
+}

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2016-10-15 11:42:33 UTC (rev 192297)
+++ community-x86_64/PKGBUILD	2016-10-15 11:43:00 UTC (rev 192298)
@@ -1,37 +0,0 @@
-# $Id$
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-
-pkgname=appstream-generator
-pkgver=0.5.0
-pkgrel=2
-pkgdesc="A fast AppStream metadata generator"
-arch=(i686 x86_64)
-url="https://github.com/ximion/appstream-generator"
-license=(GPL3)
-depends=(appstream curl libarchive librsvg lmdb)
-makedepends=(gdc dub)
-source=("https://github.com/ximion/appstream-generator/releases/download/v$pkgver/$pkgname-$pkgver.tar.xz"
-        "https://github.com/ximion/d-bindings/archive/cec0ebdc70963fa92a1ed02877b2c794a634d0f7.zip"
-        asgen-fix-i686-build.patch::"https://github.com/ximion/appstream-generator/commit/3c0bdb95.patch"
-        asgen-fix-i686-build-2.patch::"https://github.com/ximion/appstream-generator/commit/608550b4.patch")
-sha256sums=('446b33752a65e4b2206e69848a4ad8c062cf4d5ff4af908253754651368eff39'
-            '6899abfd4c9bea7e634d86bc0b33caffe76ed40e86aee6b57c741a2aec58d047'
-            '8bf027d99afe1d19fee62508394a873ebe0d96e635c1ed9666edc4e42cd88487'
-            'cb99014886504ca6d08eae660bc0afcb89545d1512b8c75853e2eb95bd64aafd')
-
-prepare() {
-  cd $pkgname-$pkgver
-# Fix i686 build
-  patch -p1 -i ../asgen-fix-i686-build.patch
-  patch -p1 -i ../asgen-fix-i686-build-2.patch
-}
-
-build() {
-  cd $pkgname-$pkgver
-  make
-}
-
-package() {
-  cd $pkgname-$pkgver
-  make DESTDIR="$pkgdir" install
-}

Copied: appstream-generator/repos/community-x86_64/PKGBUILD (from rev 192297, appstream-generator/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2016-10-15 11:43:00 UTC (rev 192298)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=appstream-generator
+pkgver=0.6.0
+pkgrel=1
+pkgdesc="A fast AppStream metadata generator"
+arch=(i686 x86_64)
+url="https://github.com/ximion/appstream-generator"
+license=(GPL3)
+depends=(appstream libarchive librsvg lmdb)
+makedepends=(dmd meson ninja mustache-d curl)
+source=("https://github.com/ximion/appstream-generator/releases/download/v$pkgver/$pkgname-$pkgver.tar.xz")
+sha256sums=('68f538f2163004b8e2171c694233af401c2cd47a9ea1472265753a48b20600e3')
+
+prepare() {
+  mkdir -p build
+
+# fix build
+  sed -e 's/core.sys.linux.stdio/core.sys.posix.stdio/' -i $pkgname-$pkgver/src/asgen/utils.d
+}
+
+build() {
+  cd build
+  meson ../$pkgname-$pkgver -Ddownload_js=false --prefix=/usr
+  ninja -j1
+}
+
+package() {
+  cd build
+  DESTDIR="$pkgdir" ninja install
+}



More information about the arch-commits mailing list