diff options
author | SanskritFritz | 2015-06-14 00:42:18 +0200 |
---|---|---|
committer | SanskritFritz | 2015-06-14 00:42:18 +0200 |
commit | 96668c4057bcec8b35fcce697f760a47ce701a7e (patch) | |
tree | abbe2b5ebfe19f6885e170a98be0763077434b84 | |
download | aur-96668c4057bcec8b35fcce697f760a47ce701a7e.tar.gz |
Initial import
-rw-r--r-- | .AURINFO | 27 | ||||
-rw-r--r-- | .SRCINFO | 28 | ||||
-rw-r--r-- | PKGBUILD | 51 | ||||
-rw-r--r-- | avant-window-navigator.install | 22 |
4 files changed, 128 insertions, 0 deletions
diff --git a/.AURINFO b/.AURINFO new file mode 100644 index 000000000000..1f12ea9e8cf1 --- /dev/null +++ b/.AURINFO @@ -0,0 +1,27 @@ +pkgbase = avant-window-navigator + pkgdesc = AWN is a customisable dock-like bar at the edge of the screen. + pkgver = 0.4.2 + pkgrel = 4 + url = https://launchpad.net/awn + install = avant-window-navigator.install + arch = x86_64 + arch = i686 + license = GPL + makedepends = gtk-doc + makedepends = vala + makedepends = intltool + depends = libdesktop-agnostic + depends = libwnck + depends = libgtop + depends = gconf + depends = python2-dbus + depends = pygtk + depends = python2-xdg + depends = hicolor-icon-theme + depends = xdg-utils + depends = gtkmm + source = http://launchpad.net/awn/0.4/0.4.2/+download/avant-window-navigator-0.4.2.tar.gz + options = !libtool + +pkgname = avant-window-navigator + diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..ef2f05617186 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,28 @@ +pkgbase = avant-window-navigator + pkgdesc = AWN is a customisable dock-like bar at the edge of the screen. + pkgver = 0.4.2 + pkgrel = 4 + url = https://launchpad.net/awn + install = avant-window-navigator.install + arch = x86_64 + arch = i686 + license = GPL + makedepends = gtk-doc + makedepends = vala + makedepends = intltool + depends = libdesktop-agnostic + depends = libwnck + depends = libgtop + depends = gconf + depends = python2-dbus + depends = pygtk + depends = python2-xdg + depends = hicolor-icon-theme + depends = xdg-utils + depends = gtkmm + options = !libtool + source = http://launchpad.net/awn/0.4/0.4.2/+download/avant-window-navigator-0.4.2.tar.gz + md5sums = df3bd413de19bdda461df7ed4f9e2409 + +pkgname = avant-window-navigator + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..f3e7bb1f87d7 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,51 @@ +# Maintainer: SanskritFritz (gmail) +# Contributor: Balló György <ballogyor+arch at gmail dot com> +# Contributor: Jaroslav Lichtblau <dragonlord@aur.archlinux.org> +# Contributor: Timm Preetz <timm@preetz.us> +# Contributor: Daniel J Griffiths <ghost1227@archlinux.us> +# Contributor: serendipoldius (AUR) + +pkgname=avant-window-navigator +pkgver=0.4.2 +pkgrel=4 +pkgdesc='AWN is a customisable dock-like bar at the edge of the screen.' +arch=('x86_64' 'i686') +url='https://launchpad.net/awn' +license=('GPL') +depends=('libdesktop-agnostic' 'libwnck' 'libgtop' 'gconf' 'python2-dbus' 'pygtk' 'python2-xdg' 'hicolor-icon-theme' 'xdg-utils' 'gtkmm') +makedepends=('gtk-doc' 'vala' 'intltool') +options=('!libtool') +install=$pkgname.install +source=("http://launchpad.net/awn/0.4/$pkgver/+download/$pkgname-$pkgver.tar.gz") + +build() { + cd "$srcdir/$pkgname-$pkgver" + + # Python2 fix + sed -i 's@^#!.*python$@#!/usr/bin/python2@' awn-settings/{awnSettings.py.in,awnSettingsHelper.py} + sed -i 's/with("python"/with("python2"/' applet-activation/main.cc + + autoreconf -fi + ./configure --prefix=/usr --sysconfdir=/etc \ + --disable-static \ + PYTHON=/usr/bin/python2 + make +} + +check() { + cd "$srcdir/$pkgname-$pkgver" + + make check +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="$pkgdir" install + + install -m755 -d "$pkgdir/usr/share/gconf/schemas" + gconf-merge-schema "$pkgdir/usr/share/gconf/schemas/awn.schemas" "$pkgdir"/etc/gconf/schemas/*.schemas + rm -r "$pkgdir/etc" +} + +md5sums=('df3bd413de19bdda461df7ed4f9e2409') diff --git a/avant-window-navigator.install b/avant-window-navigator.install new file mode 100644 index 000000000000..f5473a092aac --- /dev/null +++ b/avant-window-navigator.install @@ -0,0 +1,22 @@ +pkgname=awn + +post_install() { + gconfpkg --install $pkgname + xdg-icon-resource forceupdate +} + +pre_upgrade() { + pre_remove $1 +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + gconfpkg --uninstall $pkgname +} + +post_remove() { + xdg-icon-resource forceupdate +} |