Date: Thursday, February 11, 2016 @ 23:51:37
  Author: arodseth
Revision: 161320

upgpkg: gummi 0.6.6-2

Modified:
  gummi/trunk/PKGBUILD

----------+
 PKGBUILD |   10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2016-02-11 22:51:05 UTC (rev 161319)
+++ PKGBUILD    2016-02-11 22:51:37 UTC (rev 161320)
@@ -6,7 +6,7 @@
 
 pkgname=gummi
 pkgver=0.6.6
-pkgrel=1
+pkgrel=2
 pkgdesc='Simple LaTex editor for GTK users'
 arch=('x86_64' 'i686')
 url='http://gummi.midnightcoding.org/'
@@ -23,11 +23,13 @@
   setconf autogen.sh AM_VERSION ''
   ./autogen.sh
 }
- 
+
 build() {
   cd "$pkgname"
 
   ./configure --prefix=/usr
+  #  --datarootdir="/usr/share/$pkgname" \
+  #  --datadir="/usr/share/$pkgname"
   make
 }
 
@@ -36,6 +38,10 @@
 
   make DESTDIR="$pkgdir" install
   install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+
+  # Fix FS#48130
+  mv "$pkgdir/usr/@DATADIRNAME@/"* "$pkgdir/usr/share/$pkgname"
+  rmdir "$pkgdir/usr/@DATADIRNAME@"
 }
 
 # vim:set ts=2 sw=2 et:

Reply via email to