Date: Wednesday, April 23, 2014 @ 17:22:48
  Author: arodseth
Revision: 110042

upgpkg: gummi 0.6.5-2

Modified:
  gummi/trunk/PKGBUILD

----------+
 PKGBUILD |   15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2014-04-23 14:51:15 UTC (rev 110041)
+++ PKGBUILD    2014-04-23 15:22:48 UTC (rev 110042)
@@ -6,7 +6,7 @@
 
 pkgname=gummi
 pkgver=0.6.5
-pkgrel=1
+pkgrel=2
 pkgdesc='Simple LaTex editor for GTK users'
 arch=('x86_64' 'i686')
 url='http://gummi.midnightcoding.org/'
@@ -13,23 +13,22 @@
 license=('MIT')
 depends=('texlive-core' 'gtkspell' 'gtksourceview2' 'poppler-glib' 
'desktop-file-utils')
 makedepends=('glib2' 'gtk2' 'pango' 'poppler' 'intltool')
-install=$pkgname.install
-source=("$pkgname-$pkgver.tar.gz::http://dev.midnightcoding.org/projects/$pkgname/latest.tar.gz";)
+install="$pkgname.install"
+source=("http://dev.midnightcoding.org/attachments/download/301/$pkgname-$pkgver.tar.gz";)
 sha256sums=('b23c2958376ea43c701a276ad19ceac5b50d9cb32a489a10897b25aa5004fffb')
  
 build() {
-  cd $pkgname-$pkgver
+  cd "$pkgname-$pkgver"
 
-  find . -type f -exec touch {} \;
   ./configure --prefix=/usr
   make
 }
 
 package() {
-  cd $pkgname-$pkgver
+  cd "$pkgname-$pkgver"
 
-  make prefix=$pkgdir/usr install
-  install -Dm644 COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING
+  make DESTDIR="$pkgdir" install
+  install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
 }
 
 # vim:set ts=2 sw=2 et:

Reply via email to