diff options
author | root <root@rshg054.dnsready.net> | 2011-11-04 23:14:51 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-11-04 23:14:51 +0000 |
commit | 3026bb55941e3b04b56f5fb41b88941c6c2ce0cd (patch) | |
tree | 576b183074d925e58c2e37ae2b641e712bceacb1 /community/alleyoop | |
parent | b625511a28fd8401f524474b5339e75328595150 (diff) |
Fri Nov 4 23:14:51 UTC 2011
Diffstat (limited to 'community/alleyoop')
-rw-r--r-- | community/alleyoop/PKGBUILD | 20 | ||||
-rw-r--r-- | community/alleyoop/alleyoop.install | 14 |
2 files changed, 18 insertions, 16 deletions
diff --git a/community/alleyoop/PKGBUILD b/community/alleyoop/PKGBUILD index bac994fe6..895a91d77 100644 --- a/community/alleyoop/PKGBUILD +++ b/community/alleyoop/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 57362 2011-10-26 12:52:41Z arodseth $ +# $Id: PKGBUILD 57801 2011-11-03 09:12:48Z 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> pkgname=alleyoop pkgver=0.9.7 -pkgrel=2 +pkgrel=3 pkgdesc="A Valgrind front-end for the GNOME environment" arch=('x86_64' 'i686') url="http://alleyoop.sourceforge.net/" @@ -12,24 +12,24 @@ license=('GPL') depends=('valgrind' 'libgnomeui') makedepends=('intltool') install=alleyoop.install -source=("http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz") +source=("http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz") md5sums=('b45ab041dea15cd0ae663183bef893c6') build() { - cd "${srcdir}/${pkgname}-${pkgver}" + cd "$srcdir/$pkgname-$pkgver" ./configure --prefix=/usr --sysconfdir=/etc make } package() { - cd "${srcdir}/${pkgname}-${pkgver}" + cd "$srcdir/$pkgname-$pkgver" - make DESTDIR=${pkgdir} install - install -m755 -d ${pkgdir}/usr/share/gconf/schemas - gconf-merge-schema ${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas \ - --domain alleyoop ${pkgdir}/etc/gconf/schemas/*.schemas - rm -rf ${pkgdir}/etc + make DESTDIR="$pkgdir" install + install -m755 -d "$pkgdir/usr/share/gconf/schemas" + gconf-merge-schema "$pkgdir/usr/share/gconf/schemas/$pkgname.schemas" \ + --domain alleyoop "$pkgdir"/etc/gconf/schemas/*.schemas + rm -r "$pkgdir/etc" } # vim:set ts=2 sw=2 et: diff --git a/community/alleyoop/alleyoop.install b/community/alleyoop/alleyoop.install index 4f8183a70..16e3af018 100644 --- a/community/alleyoop/alleyoop.install +++ b/community/alleyoop/alleyoop.install @@ -1,17 +1,19 @@ pkgname=alleyoop post_install() { -usr/sbin/gconfpkg --install ${pkgname} + usr/sbin/gconfpkg --install ${pkgname} +} + +pre_remove() { + usr/sbin/gconfpkg --uninstall ${pkgname} } pre_upgrade() { -pre_remove $1 + pre_remove $1 } post_upgrade() { -post_install $1 + post_install $1 } -pre_remove() { -usr/sbin/gconfpkg --uninstall ${pkgname} -} +# vim:set ts=2 sw=2 et: |