Flatten directory structure

This commit is contained in:
Florian Dejonckheere 2015-02-05 10:07:46 +01:00
commit 4011941d2c
3 changed files with 54 additions and 0 deletions

17
.SRCINFO Normal file
View file

@ -0,0 +1,17 @@
pkgbase = compiz-indicator
pkgdesc = Control the seperate elements of your Window manager and Decorators, all from your Indicator tray.
pkgver = 0.2
pkgrel = 4
url = http://gnome-look.org/content/show.php?content=132352
install = compiz-indicator.install
arch = any
groups = lh
groups = ayatana
license = GPL
depends = python2
depends = hicolor-icon-theme
source = http://gnome-look.org/CONTENT/content-files/132352-compiz-indicator-v0.2.tar.gz
md5sums = 93d45c5e2115c914864275cc15fa24f5
pkgname = compiz-indicator

24
PKGBUILD Normal file
View file

@ -0,0 +1,24 @@
# Maintainer: lh <jarryson AT gmail com>
pkgname=compiz-indicator
pkgver=0.2
pkgrel=4
pkgdesc='Control the seperate elements of your Window manager and Decorators, all from your Indicator tray.'
arch=('any')
url='http://gnome-look.org/content/show.php?content=132352'
license=('GPL')
groups=('lh' 'ayatana')
depends=('python2' 'hicolor-icon-theme')
install=compiz-indicator.install
source=("http://gnome-look.org/CONTENT/content-files/132352-compiz-indicator-v${pkgver}.tar.gz")
md5sums=('93d45c5e2115c914864275cc15fa24f5')
package()
{
cd "${srcdir}/${pkgname}"
install -Dm755 compiz-indicator "${pkgdir}/usr/bin/compiz-indicator"
sed 's@#!/usr/bin/env python@#!/usr/bin/env python2@' -i "${pkgdir}/usr/bin/compiz-indicator"
install -Dm644 fusion-icon-dark.svg "${pkgdir}/usr/share/icons/ubuntu-mono-dark/apps/24/fusion-icon.svg"
install -Dm644 fusion-icon-light.svg "${pkgdir}/usr/share/icons/ubuntu-mono-light/apps/24/fusion-icon.svg"
install -Dm644 fusion-icon-light.svg "${pkgdir}/usr/share/icons/hicolor/24x24/apps/fusion-icon.svg"
}

13
compiz-indicator.install Normal file
View file

@ -0,0 +1,13 @@
post_install() {
echo "Updating icon cache..."
gtk-update-icon-cache -qtf usr/share/icons/hicolor
echo "Done!"
}
post_upgrade() {
post_install $1
}
post_remove() {
post_install $1
}