From 6a3f02abeeecab3efb4442e39e28e05897f25316 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 16 Aug 2013 01:45:08 -0700 Subject: Fri Aug 16 01:44:39 PDT 2013 --- community/alleyoop/PKGBUILD | 59 ++++++++++++++++++++++++--------------------- 1 file changed, 31 insertions(+), 28 deletions(-) (limited to 'community/alleyoop/PKGBUILD') diff --git a/community/alleyoop/PKGBUILD b/community/alleyoop/PKGBUILD index 6d8ebdaf8..a784fce36 100644 --- a/community/alleyoop/PKGBUILD +++ b/community/alleyoop/PKGBUILD @@ -1,64 +1,67 @@ -# $Id: PKGBUILD 61604 2012-01-04 18:44:15Z arodseth $ +# $Id: PKGBUILD 95675 2013-08-15 12:50:15Z arodseth $ # Maintainer: Alexander Rødseth # Contributor: Angelo Theodorou # Contributor: Lex Rivera aka x-demon # Contributor: Gianluca Sforna + 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" } -- cgit v1.2.3-54-g00ecf