Skip to content

Instantly share code, notes, and snippets.

@Gabrielgtx
Created July 6, 2016 11:31
Show Gist options
  • Save Gabrielgtx/8ed6812d11b73b714daefbbd5fadbb09 to your computer and use it in GitHub Desktop.
Save Gabrielgtx/8ed6812d11b73b714daefbbd5fadbb09 to your computer and use it in GitHub Desktop.
Elegant, simple, clean dock / https://launchpad.net/plank
pkgname=plank
pkgver=0.11.2
pkgrel=1
pkgdesc='Elegant, simple, clean dock'
arch=('x86_64')
url='https://launchpad.net/plank'
license=('GPL3')
depends=('bamf' 'libdbusmenu-gtk3' 'libgee')
makedepends=('intltool' 'vala')
optdepends=('midna-themes: support GTK themes icons'
'gtk-theme-arc-git: enhanced management for themes gtk 2 and 3 with support transparent elements')
install="${pkgname}.install"
source=("https://launchpad.net/${pkgname}/1.0/${pkgver}/+download/${pkgname}-${pkgver}.tar.xz"
"git+https://github.com/Gabrielgtx/plank-extra-themes.git"
"planksettings.desktop")
md5sums=('d5cbc1fbbb98ea701d4de5f83add939c'
'SKIP'
'63c93d68e8f86c08856355d070b5c11f')
build() {
cd ${pkgname}-${pkgver}
./configure --prefix='/usr' --sysconfdir='/etc' --disable-apport
make
}
package() {
cd ${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install
install -m644 "${srcdir}/planksettings.desktop" \
"${pkgdir}/usr/share/applications/"
cd "../${pkgname}-extra-themes/themes-repo/Themes"
cp -r * "${pkgdir}/usr/share/plank/themes"
}
Status API Training Shop Blog About
post_install() {
gtk-update-icon-cache -ftq usr/share/icons/hicolor
/usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas/
}
post_upgrade()
{
post_install
}
post_remove()
{
post_install
}
[Desktop Entry]
Name=Plank Settings
Name[es]=Preferencias de Plank
GenericName=Dock preferences
Comment=
Categories=Utility;Settings;
Type=Application
Exec=plank --preferences
Icon=plank
Terminal=false
NoDisplay=false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment