[arch-commits] Commit in alleyoop/trunk (PKGBUILD alleyoop.desktop)
Alexander Rødseth
arodseth at nymeria.archlinux.org
Thu Aug 15 12:50:07 UTC 2013
Date: Thursday, August 15, 2013 @ 14:50:07
Author: arodseth
Revision: 95674
upgpkg: alleyoop 0.9.8-3
Modified:
alleyoop/trunk/PKGBUILD
Deleted:
alleyoop/trunk/alleyoop.desktop
------------------+
PKGBUILD | 57 +++++++++++++++++++++++++++--------------------------
alleyoop.desktop | 11 ----------
2 files changed, 30 insertions(+), 38 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-08-15 12:27:57 UTC (rev 95673)
+++ PKGBUILD 2013-08-15 12:50:07 UTC (rev 95674)
@@ -3,62 +3,65 @@
# Contributor: Angelo Theodorou <encelo at users.sourceforge.net>
# Contributor: Lex Rivera aka x-demon <aur at x-demon.org>
# Contributor: Gianluca Sforna <giallu at fedoraproject.org>
+
pkgname=alleyoop
pkgver=0.9.8
-pkgrel=2
-pkgdesc="Valgrind front-end for the GNOME environment"
+pkgrel=3
+pkgdesc='Valgrind front-end for the GNOME environment'
arch=('x86_64' 'i686')
-url="http://alleyoop.sourceforge.net/"
+url='http://alleyoop.sourceforge.net/'
license=('GPL2')
depends=('valgrind' 'libgnomeui' 'hicolor-icon-theme')
-makedepends=('intltool')
-install=alleyoop.install
+makedepends=('intltool' 'gendesk')
+install="$pkgname.install"
source=("http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz"
- "http://www.roboticoverlords.org/$pkgname/${pkgname}16.png"
- "http://www.roboticoverlords.org/$pkgname/${pkgname}32.png"
- "http://www.roboticoverlords.org/$pkgname/${pkgname}64.png"
- "http://www.roboticoverlords.org/$pkgname/${pkgname}128.png"
- "http://www.roboticoverlords.org/$pkgname/${pkgname}256.png"
- "$pkgname.desktop")
+ "http://roboticoverlords.org/$pkgname/${pkgname}16.png"
+ "http://roboticoverlords.org/$pkgname/${pkgname}32.png"
+ "http://roboticoverlords.org/$pkgname/${pkgname}64.png"
+ "http://roboticoverlords.org/$pkgname/${pkgname}128.png"
+ "http://roboticoverlords.org/$pkgname/${pkgname}256.png")
sha256sums=('0b36fd3af83aa74d363a5d13414b7a38c3efabd2fce0fbeb2a8171998e0b6756'
'470287270aafada00fc1be9e47713a62b44836fca677a0a2ea29f2bcbd46926f'
'9f461fa169ee7fd43a1d58bc0c4afe4f807437b7d585ac4445390dac7590f4af'
'9e33d888ef45ae520ce8610507af6a7867e3c3cfe99beab2040a7d42e44dc1e0'
'c32c5a900f4521599c497f15e8f3edb7125ebcc7571ceaa2f9ebfe45fa2dfe27'
- '15f4fb65a102cefd9e80cdb7a7cf8ab6be02e1d773a75536396076c1136875bd'
- 'b2b2d6fde890bb237c34874ebf27c33f1839d217d2893d6f8d05d949dab68e7b')
+ '15f4fb65a102cefd9e80cdb7a7cf8ab6be02e1d773a75536396076c1136875bd')
+prepare() {
+ cd "$pkgname-$pkgver"
+
+ gendesk -n \
+ --pkgname "$pkgname" \
+ --pkgdesc "$pkgdesc" \
+ --name Alleyoop \
+ --genericname 'Memory checker' \
+ --comment 'Find memory-management problems by using Valgrind' \
+ --categories 'Application;GNOME;Development;Debugger'
+}
+
build() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd "$pkgname-$pkgver"
- msg2 "Configuring..."
./configure --prefix=/usr --sysconfdir=/etc
-
- msg2 "Compiling..."
make
}
package() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd "$pkgname-$pkgver"
- msg "Packaging files..."
make DESTDIR="$pkgdir" install
- msg "Packaging icons..."
+ # Icons
for dim in 16 32 64 128 256; do
install -Dm644 "../${pkgname}${dim}.png" \
"$pkgdir/usr/share/icons/hicolor/${dim}x$dim/apps/$pkgname.png"
done
- msg2 "Packaging desktop shortcut..."
- install -Dm644 "../$pkgname.desktop" \
+ # Desktop shortcut
+ install -Dm644 "$pkgname.desktop" \
"$pkgdir/usr/share/applications/$pkgname.desktop"
- msg2 "Packaging license..."
- install -Dm644 COPYING \
- "$pkgdir/usr/share/licenses/$pkgname/COPYING"
-
- msg2 "Cleaning up..."
+ # Cleaning up
rm -r "$pkgdir/etc"
}
Deleted: alleyoop.desktop
===================================================================
--- alleyoop.desktop 2013-08-15 12:27:57 UTC (rev 95673)
+++ alleyoop.desktop 2013-08-15 12:50:07 UTC (rev 95674)
@@ -1,11 +0,0 @@
-[Desktop Entry]
-Encoding=UTF-8
-Name=Alleyoop
-GenericName=Memory checker
-Comment=Find memory-management problems by using Valgrind
-Exec=alleyoop
-Icon=alleyoop.png
-Terminal=false
-Type=Application
-StartupNotify=true
-Categories=Application;GNOME;Development;Debugger;
More information about the arch-commits
mailing list