From 1a26253780ac2b8067e25422bc729cf96375bffd Mon Sep 17 00:00:00 2001 From: "coadde [Márcio Alexandre Silva Delgado]" Date: Wed, 27 Aug 2014 04:38:22 -0300 Subject: move all pkgs from [elementary] to [pcr] --- pcr/elementary-gtk-theme/PKGBUILD | 27 +++++++++++++++++ .../elementary-gtk-theme.install | 10 +++++++ pcr/elementary-icons/PKGBUILD | 24 +++++++++++++++ pcr/gtk-engine-equinox/PKGBUILD | 34 ++++++++++++++++++++++ pcr/postler/PKGBUILD | 28 ++++++++++++++++++ pcr/postler/postler.install | 12 ++++++++ pcr/vala-010/PKGBUILD | 34 ++++++++++++++++++++++ 7 files changed, 169 insertions(+) create mode 100644 pcr/elementary-gtk-theme/PKGBUILD create mode 100644 pcr/elementary-gtk-theme/elementary-gtk-theme.install create mode 100644 pcr/elementary-icons/PKGBUILD create mode 100644 pcr/gtk-engine-equinox/PKGBUILD create mode 100644 pcr/postler/PKGBUILD create mode 100644 pcr/postler/postler.install create mode 100644 pcr/vala-010/PKGBUILD (limited to 'pcr') diff --git a/pcr/elementary-gtk-theme/PKGBUILD b/pcr/elementary-gtk-theme/PKGBUILD new file mode 100644 index 000000000..d2495da03 --- /dev/null +++ b/pcr/elementary-gtk-theme/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer (Arch): paterbrown +# Contributor (Arch): 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/pcr/elementary-gtk-theme/elementary-gtk-theme.install b/pcr/elementary-gtk-theme/elementary-gtk-theme.install new file mode 100644 index 000000000..66264ead4 --- /dev/null +++ b/pcr/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/pcr/elementary-icons/PKGBUILD b/pcr/elementary-icons/PKGBUILD new file mode 100644 index 000000000..6e6ac0c7d --- /dev/null +++ b/pcr/elementary-icons/PKGBUILD @@ -0,0 +1,24 @@ +# Maintainer (Arch): paterbrown +# Contributor (Arch): 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/pcr/gtk-engine-equinox/PKGBUILD b/pcr/gtk-engine-equinox/PKGBUILD new file mode 100644 index 000000000..c6742a410 --- /dev/null +++ b/pcr/gtk-engine-equinox/PKGBUILD @@ -0,0 +1,34 @@ +# Maintainer (Arch): SpepS +# Contributor (Arch): Frikilinux + +pkgname=gtk-engine-equinox +pkgver=1.50 +pkgrel=3 +pkgdesc="A heavily modified version of the beautiful Aurora engine" +url="http://gnome-look.org/content/show.php/Equinox+GTK+Engine?content=121881" +license=('GPL') +arch=('i686' 'x86_64' 'mips64el') +depends=('gtk2') +makedepends=('libtool') +options=('!libtool') +source=("http://gnome-look.org/CONTENT/content-files/121881-equinox-$pkgver.tar.gz") +sha256sums=('0cf8b8cc841e0da7d4a08ab5a70d3bb330fd76bdcb03165a47aaddcd47e02227') + +build() { + cd "$srcdir/equinox-$pkgver" + + # toolbar fix + sed -i "s/=\( EQUINOX_IS_TOOLBAR\)/= widget \&\&\1/" \ + src/equinox_style.c + + # glib2 fix + sed -i "/gtimer/d" src/animation.c + + ./configure --prefix=/usr \ + --enable-animation + make +} +package() { + cd "$srcdir/equinox-$pkgver" + make DESTDIR="$pkgdir/" install +} diff --git a/pcr/postler/PKGBUILD b/pcr/postler/PKGBUILD new file mode 100644 index 000000000..b5d624895 --- /dev/null +++ b/pcr/postler/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer (Arch): Kosava + +pkgname=postler +pkgver=0.1.1 +pkgrel=2 +pkgdesc="Postler is simple desktop mail client built in vala" +arch=('i686' 'x86_64' 'mips64el') +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/pcr/postler/postler.install b/pcr/postler/postler.install new file mode 100644 index 000000000..709ad81f2 --- /dev/null +++ b/pcr/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/pcr/vala-010/PKGBUILD b/pcr/vala-010/PKGBUILD new file mode 100644 index 000000000..af72d0326 --- /dev/null +++ b/pcr/vala-010/PKGBUILD @@ -0,0 +1,34 @@ +# Maintainer (Arch): 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' 'mips64el') +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