summaryrefslogtreecommitdiff
path: root/community/account-plugins
diff options
context:
space:
mode:
Diffstat (limited to 'community/account-plugins')
-rw-r--r--community/account-plugins/PKGBUILD31
-rw-r--r--community/account-plugins/account-plugins.install11
2 files changed, 42 insertions, 0 deletions
diff --git a/community/account-plugins/PKGBUILD b/community/account-plugins/PKGBUILD
new file mode 100644
index 000000000..b5928821b
--- /dev/null
+++ b/community/account-plugins/PKGBUILD
@@ -0,0 +1,31 @@
+# $Id: PKGBUILD 79484 2012-11-06 04:10:50Z bgyorgy $
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+
+pkgname=account-plugins
+pkgver=0.9
+pkgrel=1
+pkgdesc="Account configuration plugins for credentials preferences"
+arch=('i686' 'x86_64')
+url="https://launchpad.net/online-accounts-account-plugins"
+license=('GPL')
+depends=('credentials-preferences' 'signon-keyring-extension' 'signon-plugin-oauth2')
+makedepends=('gobject-introspection' 'vala' 'intltool')
+optdepends=('python-gobject: for account-console tool')
+options=('!libtool')
+install=$pkgname.install
+source=(https://launchpad.net/online-accounts-account-plugins/12.10/$pkgver/+download/$pkgname-$pkgver.tar.gz)
+md5sums=('58deed9e3305877bb4db426a51451ec0')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+ --disable-static
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ make DESTDIR="$pkgdir" install
+}
diff --git a/community/account-plugins/account-plugins.install b/community/account-plugins/account-plugins.install
new file mode 100644
index 000000000..2c455e952
--- /dev/null
+++ b/community/account-plugins/account-plugins.install
@@ -0,0 +1,11 @@
+post_install() {
+ xdg-icon-resource forceupdate
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+}