summaryrefslogtreecommitdiff
path: root/community/awn-extras-applets/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/awn-extras-applets/PKGBUILD')
-rw-r--r--community/awn-extras-applets/PKGBUILD50
1 files changed, 0 insertions, 50 deletions
diff --git a/community/awn-extras-applets/PKGBUILD b/community/awn-extras-applets/PKGBUILD
deleted file mode 100644
index 2379fd74e..000000000
--- a/community/awn-extras-applets/PKGBUILD
+++ /dev/null
@@ -1,50 +0,0 @@
-# $Id: PKGBUILD 41460 2011-03-06 17:46:31Z jelle $
-# Contributor: Biru Ionut <ionut@archlinux.ro>
-# Contributor: Jonathan Liu <net147@hotmail.com>
-# Maintainer: Daniel J Griffiths <ghost1227@archlinux.us>
-
-pkgname=awn-extras-applets
-pkgver=0.4.0
-pkgrel=8
-pkgdesc="A collection of applets for avant-window-navigator"
-arch=('i686' 'x86_64')
-url="https://launchpad.net/awn-extras"
-license=('GPL2')
-depends=('avant-window-navigator' 'gnome-menus' 'libgtop' 'libnotify'
- 'libsexy' 'vte' 'gstreamer0.10-python')
-makedepends=('intltool' 'libdesktop-agnostic' 'vala')
-optdepends=('python-notify: needed for some applets'
- 'python-vobject: needed for some applets')
-provides=('avant-window-navigator-extras')
-install=awn-extras-applets.install
-options=('!libtool')
-source=(http://launchpad.net/awn-extras/0.4/0.4.0/+download/awn-extras-0.4.0.tar.gz \
- awn-extras-libnotify0.7.patch)
-md5sums=('b559d68cd6ad295c961c20fcc5d9f9c0'
- '7999955956d1d2457b4c3b50ffd3199d')
-
-build() {
- cd ${srcdir}/${pkgname/-applets/}-${pkgver}
- patch -Np1 -i $srcdir/awn-extras-libnotify0.7.patch
- ./configure --prefix=/usr --sysconfdir=/etc --disable-pymod-checks
- make
-}
-
-package() {
- cd ${srcdir}/${pkgname/-applets/}-${pkgver}
- make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR=${pkgdir} install
-
- # yes... theses guys can not even get a "#!" right
- sed -i -e "s|#[ ]*[!]*[ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \
- -e "s|#[ ]*![ ]*/usr/bin/python$|#!/usr/bin/python2|" \
- $(find $pkgdir/usr/share/avant-window-navigator/applets/ -name '*.py') \
- $pkgdir/usr/lib/python2.7/site-packages/awn/extras/awnmediaplayers.py
-
- mkdir -p ${pkgdir}/usr/share/gconf/schemas
- gconf-merge-schema ${pkgdir}/usr/share/gconf/schemas/awn-extras.schemas \
- ${pkgdir}/etc/gconf/schemas/*.schemas
- rm -f ${pkgdir}/etc/gconf/schemas/*.schemas
- rmdir --ignore-fail-on-non-empty -p ${pkgdir}/usr/share/locale
- rmdir --ignore-fail-on-non-empty -p ${pkgdir}/etc/gconf/schemas
-}
-# vim:set ts=2 sw=2 et: