[arch-commits] Commit in keepnote/trunk (PKGBUILD keepnote.install)

Balló György bgyorgy at archlinux.org
Tue Jul 12 20:32:04 UTC 2016


    Date: Tuesday, July 12, 2016 @ 20:32:04
  Author: bgyorgy
Revision: 182742

upgpkg: keepnote 0.7.8-3

Hooks rebuild

Modified:
  keepnote/trunk/PKGBUILD
Deleted:
  keepnote/trunk/keepnote.install

------------------+
 PKGBUILD         |   13 ++++++-------
 keepnote.install |   11 -----------
 2 files changed, 6 insertions(+), 18 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-07-12 20:31:01 UTC (rev 182741)
+++ PKGBUILD	2016-07-12 20:32:04 UTC (rev 182742)
@@ -3,19 +3,18 @@
 
 pkgname=keepnote
 pkgver=0.7.8
-pkgrel=2
+pkgrel=3
 pkgdesc="GTK+ note taking application"
 arch=('any')
 url="http://keepnote.org/"
 license=('GPL')
-depends=('pygtk' 'hicolor-icon-theme' 'xdg-utils')
+depends=('pygtk')
 optdepends=('python2-gtkspell: spell shecking support')
-install=$pkgname.install
 source=(http://keepnote.org/download/$pkgname-$pkgver.tar.gz)
 md5sums=('c1e765bb8a07630f717d04117bc1dc58')
 
 prepare() {
-  cd "$srcdir/$pkgname-$pkgver"
+  cd $pkgname-$pkgver
 
   # Python2 fix
   sed -i 's|^#!/usr/bin/env python$|#!/usr/bin/env python2|' keepnote/tarfile.py
@@ -25,11 +24,11 @@
 }
 
 build() {
-  cd "$srcdir/$pkgname-$pkgver"
+  cd $pkgname-$pkgver
   python2 setup.py build
 }
 
 package() {
-  cd "$srcdir/$pkgname-$pkgver"
-  python2 setup.py install --root=$pkgdir/ --optimize=1
+  cd $pkgname-$pkgver
+  python2 setup.py install --root="$pkgdir" --optimize=1
 }

Deleted: keepnote.install
===================================================================
--- keepnote.install	2016-07-12 20:31:01 UTC (rev 182741)
+++ keepnote.install	2016-07-12 20:32:04 UTC (rev 182742)
@@ -1,11 +0,0 @@
-post_install() {
-  xdg-icon-resource forceupdate
-}
-
-post_upgrade() {
-  post_install $1
-}
-
-post_remove() {
-  post_install $1
-}



More information about the arch-commits mailing list