summaryrefslogtreecommitdiff
path: root/community/credentials-preferences/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/credentials-preferences/PKGBUILD')
-rw-r--r--community/credentials-preferences/PKGBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/community/credentials-preferences/PKGBUILD b/community/credentials-preferences/PKGBUILD
new file mode 100644
index 000000000..e4172f82d
--- /dev/null
+++ b/community/credentials-preferences/PKGBUILD
@@ -0,0 +1,41 @@
+# $Id: PKGBUILD 87397 2013-03-30 21:57:57Z bgyorgy $
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+
+pkgname=credentials-preferences
+_pkgname=credentials-control-center
+pkgver=0.1.5
+pkgrel=1
+pkgdesc="Control panel for configuring online account credentials and settings"
+arch=('i686' 'x86_64')
+url="https://launchpad.net/gnome-control-center-signon"
+license=('GPL' 'LGPL')
+depends=('libaccounts-glib' 'libsignon-glib' 'gtk3')
+makedepends=('gobject-introspection' 'vala' 'intltool' 'itstool')
+options=('!libtool')
+install=$pkgname.install
+source=(https://launchpad.net/gnome-control-center-signon/13.04/$pkgver/+download/$_pkgname-$pkgver.tar.xz
+ http://pkgbuild.com/~bgyorgy/sources/$_pkgname-translations-20121018.tar.gz)
+md5sums=('deaa290c89dffee5198f3f0f6f2e1fe1'
+ '702d6b39136e10ba6dfad0afd300b2af')
+
+build() {
+ cd "$srcdir/$_pkgname-$pkgver"
+
+ # Install updated language files
+ rename $_pkgname- '' ../po/$_pkgname-*.po
+ mv -f -t po ../po/*
+ printf "%s\n" po/*.po | sed -e 's/po\///g' -e 's/\.po//g' >po/LINGUAS
+
+ # Fix helper script
+ sed -i 's/test/test -e/' online-accounts-preferences.in
+
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/lib/$pkgname \
+ --disable-static
+ make
+}
+
+package() {
+ cd "$srcdir/$_pkgname-$pkgver"
+
+ make DESTDIR="$pkgdir" install
+}