diff options
author | root <root@rshg054.dnsready.net> | 2013-10-26 01:22:45 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-10-26 01:22:45 -0700 |
commit | 24152c3ea77087edccf017c13d44904a75799ff7 (patch) | |
tree | 65e25106816e5071dd5b2edc2270e0138c23dc7c /community/plank | |
parent | 5a3821aec094b38a412cf5e6997c08b6428d6f77 (diff) |
Sat Oct 26 01:21:13 PDT 2013
Diffstat (limited to 'community/plank')
-rw-r--r-- | community/plank/PKGBUILD | 39 | ||||
-rw-r--r-- | community/plank/plank.install | 15 |
2 files changed, 54 insertions, 0 deletions
diff --git a/community/plank/PKGBUILD b/community/plank/PKGBUILD new file mode 100644 index 000000000..c36204e7b --- /dev/null +++ b/community/plank/PKGBUILD @@ -0,0 +1,39 @@ +# $Id: PKGBUILD 99220 2013-10-25 21:06:18Z alucryd $ +# Maintainer: Maxime Gauduin <alucryd at gmail dot com> +# Contributor: Ner0 <darkelfdarkelf666 at yahoo dot co dot uk> +# Contributor: dcelasun <dcelasun at gmaild dot com> + +pkgname=plank +pkgver=0.4.0 +pkgrel=1 +pkgdesc="Elegant, simple, clean dock" +arch=('i686' 'x86_64') +url="https://launchpad.net/plank" +license=('GPL3') +depends=('bamf' 'libdbusmenu-gtk3' 'libgee' 'python2') +makedepends=('gnome-common' 'intltool' 'vala') +install="${pkgname}.install" +source=("https://launchpad.net/${pkgname}/1.0/${pkgver}/+download/${pkgname}-${pkgver}.tar.xz") +sha256sums=('b8417bce7d88ac1f339e948c964822049a9261f9d9dedc0d0e636c73442856fe') + +prepare() { + cd ${pkgname}-${pkgver} + + sed -i 's|^#!.*python$|#!/usr/bin/python2|' $(grep -rl '^#!.*python') +} + +build() { + cd ${pkgname}-${pkgver} + + ./configure --prefix='/usr' --sysconfdir='/etc' --localstatedir='/var' + make +} + +package() { + cd ${pkgname}-${pkgver} + + make DESTDIR="${pkgdir}" install + rm -rf "${pkgdir}"/{etc,usr/share/apport} +} + +# vim: ts=2 sw=2 et: diff --git a/community/plank/plank.install b/community/plank/plank.install new file mode 100644 index 000000000..197190dd8 --- /dev/null +++ b/community/plank/plank.install @@ -0,0 +1,15 @@ +post_install() { + gtk-update-icon-cache -ftq usr/share/icons/hicolor +} + +post_upgrade() +{ + post_install +} + +post_remove() +{ + post_install +} + +# vim: ts=2 sw=2 et: |