summaryrefslogtreecommitdiff
path: root/community/alleyoop
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-01-05 23:14:48 +0000
committerroot <root@rshg054.dnsready.net>2012-01-05 23:14:48 +0000
commit817e58c278cb8ebee7743205877d0f67c431fcec (patch)
treef2716cc059272be15ea4691e8d40e6a998f4c936 /community/alleyoop
parent85828cc2c2c3ef5c0b9b03388b9323d3d163b389 (diff)
Thu Jan 5 23:14:48 UTC 2012
Diffstat (limited to 'community/alleyoop')
-rw-r--r--community/alleyoop/PKGBUILD50
-rw-r--r--community/alleyoop/alleyoop.desktop11
-rw-r--r--community/alleyoop/alleyoop.install4
3 files changed, 53 insertions, 12 deletions
diff --git a/community/alleyoop/PKGBUILD b/community/alleyoop/PKGBUILD
index 9d2bdc078..6d8ebdaf8 100644
--- a/community/alleyoop/PKGBUILD
+++ b/community/alleyoop/PKGBUILD
@@ -1,34 +1,64 @@
-# $Id: PKGBUILD 61496 2012-01-02 02:13:47Z arodseth $
+# $Id: PKGBUILD 61604 2012-01-04 18:44:15Z arodseth $
# Maintainer: Alexander Rødseth <rodseth@gmail.com>
# Contributor: Angelo Theodorou <encelo@users.sourceforge.net>
# Contributor: Lex Rivera aka x-demon <aur@x-demon.org>
+# Contributor: Gianluca Sforna <giallu@fedoraproject.org>
pkgname=alleyoop
pkgver=0.9.8
-pkgrel=1
+pkgrel=2
pkgdesc="Valgrind front-end for the GNOME environment"
arch=('x86_64' 'i686')
url="http://alleyoop.sourceforge.net/"
-license=('GPL')
-depends=('valgrind' 'libgnomeui')
+license=('GPL2')
+depends=('valgrind' 'libgnomeui' 'hicolor-icon-theme')
makedepends=('intltool')
install=alleyoop.install
-source=("http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz")
-sha256sums=('0b36fd3af83aa74d363a5d13414b7a38c3efabd2fce0fbeb2a8171998e0b6756')
+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")
+sha256sums=('0b36fd3af83aa74d363a5d13414b7a38c3efabd2fce0fbeb2a8171998e0b6756'
+ '470287270aafada00fc1be9e47713a62b44836fca677a0a2ea29f2bcbd46926f'
+ '9f461fa169ee7fd43a1d58bc0c4afe4f807437b7d585ac4445390dac7590f4af'
+ '9e33d888ef45ae520ce8610507af6a7867e3c3cfe99beab2040a7d42e44dc1e0'
+ 'c32c5a900f4521599c497f15e8f3edb7125ebcc7571ceaa2f9ebfe45fa2dfe27'
+ '15f4fb65a102cefd9e80cdb7a7cf8ab6be02e1d773a75536396076c1136875bd'
+ 'b2b2d6fde890bb237c34874ebf27c33f1839d217d2893d6f8d05d949dab68e7b')
build() {
cd "$srcdir/$pkgname-$pkgver"
- ./configure --prefix=/usr --sysconfdir=/etc #--disable-schemas-compile
+ msg2 "Configuring..."
+ ./configure --prefix=/usr --sysconfdir=/etc
+
+ msg2 "Compiling..."
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
+ msg "Packaging files..."
make DESTDIR="$pkgdir" install
- #install -dm755 "$pkgdir/usr/share/gconf/schemas"
- #gconf-merge-schema "$pkgdir/usr/share/gconf/schemas/$pkgname.schemas" \
- # --domain alleyoop "$pkgdir"/etc/gconf/schemas/*.schemas
+
+ msg "Packaging 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" \
+ "$pkgdir/usr/share/applications/$pkgname.desktop"
+
+ msg2 "Packaging license..."
+ install -Dm644 COPYING \
+ "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+
+ msg2 "Cleaning up..."
rm -r "$pkgdir/etc"
}
diff --git a/community/alleyoop/alleyoop.desktop b/community/alleyoop/alleyoop.desktop
new file mode 100644
index 000000000..38b6157d7
--- /dev/null
+++ b/community/alleyoop/alleyoop.desktop
@@ -0,0 +1,11 @@
+[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;
diff --git a/community/alleyoop/alleyoop.install b/community/alleyoop/alleyoop.install
index f6a1886e7..74578e267 100644
--- a/community/alleyoop/alleyoop.install
+++ b/community/alleyoop/alleyoop.install
@@ -1,7 +1,7 @@
post_upgrade() {
usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas
- #update-desktop-database -q
- #gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+ update-desktop-database -q
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
}
post_install() {