From 7c64c5039335c73eaa1a402c417235e8ca9a5109 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 13 Jun 2011 19:04:06 +0000 Subject: Mon Jun 13 19:04:06 UTC 2011 --- elementary/elementary-gtk-theme/PKGBUILD | 27 +++++++++++++++++ .../elementary-gtk-theme.install | 10 +++++++ elementary/elementary-icons/PKGBUILD | 24 +++++++++++++++ elementary/postler/PKGBUILD | 28 ++++++++++++++++++ elementary/postler/postler.install | 12 ++++++++ elementary/vala-010/PKGBUILD | 34 ++++++++++++++++++++++ 6 files changed, 135 insertions(+) create mode 100644 elementary/elementary-gtk-theme/PKGBUILD create mode 100644 elementary/elementary-gtk-theme/elementary-gtk-theme.install create mode 100644 elementary/elementary-icons/PKGBUILD create mode 100644 elementary/postler/PKGBUILD create mode 100644 elementary/postler/postler.install create mode 100644 elementary/vala-010/PKGBUILD (limited to 'elementary') diff --git a/elementary/elementary-gtk-theme/PKGBUILD b/elementary/elementary-gtk-theme/PKGBUILD new file mode 100644 index 000000000..64f4a4511 --- /dev/null +++ b/elementary/elementary-gtk-theme/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: paterbrown +# Contributor: Daniel Milde + +pkgname=elementary-gtk-theme +_pkgname=egtk +pkgver=2.1 +pkgrel=5 +pkgdesc="The official elementary GTK theme designed to be smooth, attractive, fast, and usable." +arch=('any') +url="https://launchpad.net/egtk" +license=('GPL2') +depends=('gtk-engine-murrine') +optdepends=('elementary-icons: the elementary icon theme' + 'nautilus-elementary-bzr: the fork of Nautilus for simplicity') +source=(http://launchpad.net/egtk/2.0/${pkgver}/+download/${_pkgname}.zip) +md5sums=('f685d659c72271944ca2e76d638ca2ed') +install=elementary-gtk-theme.install + +build () { + mkdir -p ${pkgdir}/usr/share/themes + cp -r ${srcdir}/${_pkgname} ${pkgdir}/usr/share/themes/elementary + + # remove unnecessary files + rm -rf ${pkgdir}/usr/share/themes/elementary/debian + rm -rf ${pkgdir}/usr/share/themes/elementary/.bzr +} + diff --git a/elementary/elementary-gtk-theme/elementary-gtk-theme.install b/elementary/elementary-gtk-theme/elementary-gtk-theme.install new file mode 100644 index 000000000..66264ead4 --- /dev/null +++ b/elementary/elementary-gtk-theme/elementary-gtk-theme.install @@ -0,0 +1,10 @@ +pkgname=elementary-gtk-theme + +post_install() { + echo -e "\033[1;34mIf you prefer the light panel then follow this instruction:\033[0m" + echo -e "change '\033[1;32minclude "Apps/panel-dark.rc"\033[0m' to '\033[1;32minclude "Apps/panel.rc"\033[0m' in '/usr/share/themes/elementary/gtk-2.0/gtkrc'" +} + +post_upgrade() { + post_install $1 +} diff --git a/elementary/elementary-icons/PKGBUILD b/elementary/elementary-icons/PKGBUILD new file mode 100644 index 000000000..b56c16d8b --- /dev/null +++ b/elementary/elementary-icons/PKGBUILD @@ -0,0 +1,24 @@ +# Maintainer: paterbrown +# Contributor: Josip + +pkgname=elementary-icons +_pkgname=elementary-icon-theme +pkgver=2.7.1 +pkgrel=1 +pkgdesc="The elementary icons is an icon theme designed to be smooth, sexy, clear, and efficient." +arch=('any') +url="https://launchpad.net/elementaryicons" +license=('GPL3') +depends=('librsvg') +source=(http://launchpad.net/elementaryicons/2.0/${pkgver}/+download/${_pkgname}-${pkgver}.tar.gz) +md5sums=('fc4580641089a09cbcf7df38ebddd807') + +build() { + cd ${srcdir}/${_pkgname}/elementary/panel/22 + for i in audio*-panel.svg; do ln -s "$i" "${i%-panel.svg}.svg"; done + cd ${srcdir}/${_pkgname}/elementary-mono-dark/panel/22 + for i in audio*-panel.svg; do ln -s "$i" "${i%-panel.svg}.svg"; done + mkdir -p ${pkgdir}/usr/share/icons + cp -r ${srcdir}/${_pkgname}/elementary ${pkgdir}/usr/share/icons + cp -r ${srcdir}/${_pkgname}/elementary-mono-dark ${pkgdir}/usr/share/icons +} diff --git a/elementary/postler/PKGBUILD b/elementary/postler/PKGBUILD new file mode 100644 index 000000000..55b523f82 --- /dev/null +++ b/elementary/postler/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Kosava + +pkgname=postler +pkgver=0.1.1 +pkgrel=2 +pkgdesc="Postler is simple desktop mail client built in vala" +arch=('i686' 'x86_64') +url="https://launchpad.net/postler" +license=('GPL') +depends=('libwebkit' 'libunique' 'libcanberra' 'libnotify') +makedepends=('vala-010' 'intltool' 'librsvg' 'gettext' 'python2' 'msmtp') +optdepends=('dexter: provides contact completion' + 'lynx: enables HTML to text conversion' + 'libindicate: raise flags on dbus for other components of the desktop') +install="postler.install" +source=(http://git.xfce.org/apps/$pkgname/snapshot/$pkgname-$pkgver.tar.bz2 $pkgname.install) +md5sums=('02e502c9f4a4b92e4ace32d9e268f06d' + '7541710086c2b4f45da7268c137ed708') + +build() { + cd $srcdir/$pkgname-$pkgver + export VALAC="/opt/vala-0.10/bin/valac" + msg "Patching the buildscript to use python2..." + sed -i "s|#!/usr/bin/env python|#!/usr/bin/env python2|g" waf + ./waf configure --prefix=/usr --disable-libindicate + ./waf build + ./waf --destdir=$pkgdir install +} diff --git a/elementary/postler/postler.install b/elementary/postler/postler.install new file mode 100644 index 000000000..709ad81f2 --- /dev/null +++ b/elementary/postler/postler.install @@ -0,0 +1,12 @@ +post_install() { + update-desktop-database -q + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} diff --git a/elementary/vala-010/PKGBUILD b/elementary/vala-010/PKGBUILD new file mode 100644 index 000000000..7712f99c4 --- /dev/null +++ b/elementary/vala-010/PKGBUILD @@ -0,0 +1,34 @@ +# Maintainer: Alessio Sergi + +pkgname=vala-010 +_pkgname=vala +pkgver=0.10.4 +pkgrel=1 +pkgdesc="Compiler for the GObject type system (0.10 branch)" +arch=('i686' 'x86_64') +url="http://live.gnome.org/Vala" +license=('LGPL2.1') +depends=('glib2') +makedepends=('libxslt') +options=('!libtool') +source=(http://ftp.gnome.org/pub/gnome/sources/${_pkgname}/0.10/${_pkgname}-${pkgver}.tar.bz2) +sha256sums=('4d23bd8b904ec59537ed5bcf44064104ccc41d639a3386cbc62d91f6bf0301c4') + +build() { + cd "${srcdir}/${_pkgname}-${pkgver}" + + ./configure --prefix=/opt/vala-0.10 \ + --enable-vapigen + make +} + +package() { + cd "${srcdir}/${_pkgname}-${pkgver}" + + make DESTDIR="${pkgdir}" install + + # make it nice + install -d -m755 ${pkgdir}/usr/bin + ln -s /opt/vala-0.10/bin/{vala-0.10,valac-0.10,vala-gen-introspect-0.10,vapicheck-0.10,vapigen-0.10} ${pkgdir}/usr/bin/ +} + -- cgit v1.2.3-54-g00ecf