[arch-commits] Commit in checkgmail/trunk (PKGBUILD checkgmail.desktop checkgmail.png)

Balló György bgyorgy at nymeria.archlinux.org
Mon Sep 9 23:32:35 UTC 2013


    Date: Tuesday, September 10, 2013 @ 01:32:35
  Author: bgyorgy
Revision: 96993

upgpkg: checkgmail 1.13-8

- Fix Google accounts URL (FS#33518)
- Generate desktop file and icon with gendesk

Modified:
  checkgmail/trunk/PKGBUILD
Deleted:
  checkgmail/trunk/checkgmail.desktop
  checkgmail/trunk/checkgmail.png

--------------------+
 PKGBUILD           |   15 ++++++++-------
 checkgmail.desktop |    8 --------
 2 files changed, 8 insertions(+), 15 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-09-09 20:32:19 UTC (rev 96992)
+++ PKGBUILD	2013-09-09 23:32:35 UTC (rev 96993)
@@ -5,26 +5,24 @@
 
 pkgname=checkgmail
 pkgver=1.13
-pkgrel=7
+pkgrel=8
 pkgdesc="An alternative Gmail Notifier for Linux and other *nix systems"
 arch=('any')
 url="http://checkgmail.sourceforge.net"
 license=('GPL')
 depends=('perl-gtk2-trayicon' 'perl-lwp-protocol-https' 'perl-xml-simple' 'perl-freezethaw' 'perl-crypt-simple' 'perl-crypt-blowfish')
+makedepends=('gendesk')
 optdepends=('perl-gtk2-sexy')
 source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2
-	'checkgmail.desktop' 'checkgmail.png'
 	'svn-47.patch'
 	'use-lwp-protocol-https.patch'
 	'galx.patch')
 md5sums=('8f6742ba9c09f7b7b23a5be2e14708c7'
-         '2bc04f17400074aa6f3cd39fccd29b04'
-         'f551f6cefb06201b03f8cb41fc85edb3'
          'c1becb0773ed31cf9ae4dd7686854e0e'
          'e4dd95e461b2111808df8816b9f667e1'
          '0c3d643abf932577122249303a6aad05')
 
-build() {
+prepare() {
 	cd ${srcdir}/${pkgname}-${pkgver}
 
 	for p in svn-47 use-lwp-protocol-https galx
@@ -32,6 +30,9 @@
 		msg2 "Applying $p.patch..."
 		patch -Np1 <"$srcdir/$p.patch"
 	done
+	sed -i 's|www.google.com/accounts|accounts.google.com|' checkgmail
+	gendesk --pkgname=$pkgname --pkgdesc='Checks a Gmail account for new mail' \
+		--categories='Network;Email'
 }
 
 package() {
@@ -42,8 +43,8 @@
 		${pkgdir}/usr/share/man/man1/${pkgname}.1.gz
 
 	# freedesktop
-	install -D -m 644 ../${pkgname}.desktop \
+	install -D -m 644 ${pkgname}.desktop \
 		${pkgdir}/usr/share/applications/${pkgname}.desktop
-	install -D -m 644 ../${pkgname}.png \
+	install -D -m 644 ${pkgname}.png \
 		${pkgdir}/usr/share/pixmaps/${pkgname}.png
 }

Deleted: checkgmail.desktop
===================================================================
--- checkgmail.desktop	2013-09-09 20:32:19 UTC (rev 96992)
+++ checkgmail.desktop	2013-09-09 23:32:35 UTC (rev 96993)
@@ -1,8 +0,0 @@
-[Desktop Entry]
-Categories=Network;Email
-Name=Checkgmail
-Comment=Checks a Gmail account for new mail
-Exec=checkgmail
-Icon=checkgmail
-Terminal=false
-Type=Application
\ No newline at end of file

Deleted: checkgmail.png
===================================================================
(Binary files differ)




More information about the arch-commits mailing list