[arch-commits] Commit in gloobus-preview/trunk (PKGBUILD gloobus-preview.install)
Balló György
bgyorgy at archlinux.org
Tue Jul 12 21:03:19 UTC 2016
Date: Tuesday, July 12, 2016 @ 21:03:18
Author: bgyorgy
Revision: 182760
upgpkg: gloobus-preview 0.4.5.335-2
Hooks rebuild
Modified:
gloobus-preview/trunk/PKGBUILD
Deleted:
gloobus-preview/trunk/gloobus-preview.install
-------------------------+
PKGBUILD | 7 +++++--
gloobus-preview.install | 15 ---------------
2 files changed, 5 insertions(+), 17 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-07-12 20:50:55 UTC (rev 182759)
+++ PKGBUILD 2016-07-12 21:03:18 UTC (rev 182760)
@@ -5,7 +5,7 @@
_bzrrev=335
_bzrpath=~gloobus-dev/$pkgname/last_working_branch
pkgver=0.4.5.$_bzrrev
-pkgrel=1
+pkgrel=2
pkgdesc="GNOME application designed to enable a full screen preview of any kind of file"
arch=('i686' 'x86_64')
url="http://gloobus.net/"
@@ -21,7 +21,6 @@
'libgxps: Preview XPS documents'
'libspectre: Preview PostScript documents'
'unoconv: Preview LibreOffice compatible documents')
-install=$pkgname.install
source=($pkgname-$_bzrrev.tar.gz::http://bazaar.launchpad.net/$_bzrpath/tarball/$_bzrrev)
sha256sums=('SKIP')
@@ -28,6 +27,10 @@
build() {
cd $_bzrpath
./autogen.sh --prefix=/usr
+
+ #https://bugzilla.gnome.org/show_bug.cgi?id=656231
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
make
}
Deleted: gloobus-preview.install
===================================================================
--- gloobus-preview.install 2016-07-12 20:50:55 UTC (rev 182759)
+++ gloobus-preview.install 2016-07-12 21:03:18 UTC (rev 182760)
@@ -1,15 +0,0 @@
-post_install() {
- xdg-icon-resource forceupdate
-}
-
-post_upgrade() {
- post_install $1
-
- if [ "$(vercmp 0.4.5.333-1 "$2")" -eq 1 ]; then
- gdk-pixbuf-query-loaders --update-cache
- fi
-}
-
-post_remove() {
- post_install $1
-}
More information about the arch-commits
mailing list