[arch-commits] Commit in libgepub/repos (4 files)
Jan de Groot
jgc at archlinux.org
Thu Sep 22 20:59:27 UTC 2016
Date: Thursday, September 22, 2016 @ 20:59:27
Author: jgc
Revision: 276842
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 276841, libgepub/trunk/PKGBUILD)
libgepub/repos/gnome-unstable-x86_64/
libgepub/repos/gnome-unstable-x86_64/PKGBUILD
(from rev 276841, libgepub/trunk/PKGBUILD)
--------------------------------+
gnome-unstable-i686/PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++
gnome-unstable-x86_64/PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++
2 files changed, 76 insertions(+)
Copied: libgepub/repos/gnome-unstable-i686/PKGBUILD (from rev 276841, libgepub/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-i686/PKGBUILD (rev 0)
+++ gnome-unstable-i686/PKGBUILD 2016-09-22 20:59:27 UTC (rev 276842)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=libgepub
+pkgver=0.4+1+gba0bde3
+pkgrel=1
+pkgdesc="GObject based library for handling and rendering epub
+documents"
+arch=('i686' 'x86_64')
+license=('LGPL')
+url="https://www.gnome.org/"
+depends=('webkit2gtk' 'libarchive')
+makedepends=('git' 'gnome-common' 'gobject-introspection')
+_commit=ba0bde3d36b459a070e6bcc599b271d6a20d5b27
+source=("git://git.gnome.org/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 276841, libgepub/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD 2016-09-22 20:59:27 UTC (rev 276842)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=libgepub
+pkgver=0.4+1+gba0bde3
+pkgrel=1
+pkgdesc="GObject based library for handling and rendering epub
+documents"
+arch=('i686' 'x86_64')
+license=('LGPL')
+url="https://www.gnome.org/"
+depends=('webkit2gtk' 'libarchive')
+makedepends=('git' 'gnome-common' 'gobject-introspection')
+_commit=ba0bde3d36b459a070e6bcc599b271d6a20d5b27
+source=("git://git.gnome.org/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