[arch-commits] Commit in libgepub/repos (4 files)
Jan Steffens
heftig at archlinux.org
Wed Apr 5 19:00:51 UTC 2017
Date: Wednesday, April 5, 2017 @ 19:00:46
Author: heftig
Revision: 292205
archrelease: copy trunk to gnome-unstable-i686, gnome-unstable-x86_64
Added:
libgepub/repos/gnome-unstable-i686/
libgepub/repos/gnome-unstable-i686/PKGBUILD
(from rev 292204, libgepub/trunk/PKGBUILD)
libgepub/repos/gnome-unstable-x86_64/
libgepub/repos/gnome-unstable-x86_64/PKGBUILD
(from rev 292204, libgepub/trunk/PKGBUILD)
--------------------------------+
gnome-unstable-i686/PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++
gnome-unstable-x86_64/PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++
2 files changed, 74 insertions(+)
Copied: libgepub/repos/gnome-unstable-i686/PKGBUILD (from rev 292204, libgepub/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-i686/PKGBUILD (rev 0)
+++ gnome-unstable-i686/PKGBUILD 2017-04-05 19:00:46 UTC (rev 292205)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=libgepub
+pkgver=0.4+10+g0da0ba3
+pkgrel=1
+pkgdesc="Simple library to read epub files using glib"
+url="https://git.gnome.org/browse/libgepub"
+arch=(i686 x86_64)
+license=(LGPL)
+depends=(webkit2gtk libarchive)
+makedepends=(git gnome-common gobject-introspection)
+_commit=0da0ba35e21cc6a09149d7bf827576fbfd2556e6 # master
+source=("git+https://git.gnome.org/browse/libgepub#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+ cd $pkgname
+ NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+ cd $pkgname
+ ./configure --prefix=/usr
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+ make
+}
+
+package() {
+ cd $pkgname
+ make DESTDIR="${pkgdir}" install
+}
Copied: libgepub/repos/gnome-unstable-x86_64/PKGBUILD (from rev 292204, libgepub/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD 2017-04-05 19:00:46 UTC (rev 292205)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=libgepub
+pkgver=0.4+10+g0da0ba3
+pkgrel=1
+pkgdesc="Simple library to read epub files using glib"
+url="https://git.gnome.org/browse/libgepub"
+arch=(i686 x86_64)
+license=(LGPL)
+depends=(webkit2gtk libarchive)
+makedepends=(git gnome-common gobject-introspection)
+_commit=0da0ba35e21cc6a09149d7bf827576fbfd2556e6 # master
+source=("git+https://git.gnome.org/browse/libgepub#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+ cd $pkgname
+ NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+ cd $pkgname
+ ./configure --prefix=/usr
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+ make
+}
+
+package() {
+ cd $pkgname
+ make DESTDIR="${pkgdir}" install
+}
More information about the arch-commits
mailing list