diff options
Diffstat (limited to 'community/signon-ui')
-rw-r--r-- | community/signon-ui/Makefile | 31 | ||||
-rw-r--r-- | community/signon-ui/PKGBUILD | 30 |
2 files changed, 61 insertions, 0 deletions
diff --git a/community/signon-ui/Makefile b/community/signon-ui/Makefile new file mode 100644 index 000000000..3ede78507 --- /dev/null +++ b/community/signon-ui/Makefile @@ -0,0 +1,31 @@ +# Add here the language codes for the translated .po files: +LINGUAS = + +I18N_DOMAIN = signon-ui + +PO_FILES = $(addsuffix .po, $(LINGUAS)) +MO_FILES = $(addsuffix .mo, $(LINGUAS)) + +DEL_FILE = rm -f +INSTALL = /usr/bin/install -c -m 644 +MKDIR = mkdir -p + +all: $(MO_FILES) + +install: all + for lang in $(LINGUAS); do \ + dir=$(INSTALL_ROOT)/usr/share/locale/$$lang/LC_MESSAGES; \ + $(MKDIR) $$dir; \ + $(INSTALL) $$lang.mo $$dir/$(I18N_DOMAIN).mo; \ + done + +%.mo: %.po + msgfmt -o "$@" "$<" + +clean: + -$(DEL_FILE) $(MO_FILES) + +distclean: clean + +check: all + diff --git a/community/signon-ui/PKGBUILD b/community/signon-ui/PKGBUILD new file mode 100644 index 000000000..453349cd5 --- /dev/null +++ b/community/signon-ui/PKGBUILD @@ -0,0 +1,30 @@ +# $Id: PKGBUILD 92692 2013-06-12 05:09:15Z bgyorgy $ +# Maintainer: Balló György <ballogyor+arch at gmail dot com> + +pkgname=signon-ui +pkgver=0.15 +pkgrel=1 +pkgdesc="UI component that responsible for handling the user interactions which can happen during the login process of an online account" +arch=('i686' 'x86_64') +url="https://launchpad.net/online-accounts-signon-ui" +license=('GPL') +depends=('libaccounts-qt' 'qtwebkit' 'signon' 'libnotify') +source=(https://launchpad.net/online-accounts-signon-ui/trunk/$pkgver/+download/$pkgname-$pkgver.tar.bz2) +md5sums=('67ac8ce4cc85b69ec6ff67ae892fda90') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + # Do not install tests + echo 'INSTALLS =' >>tests/unit/tst_inactivity_timer.pro + echo 'INSTALLS =' >>tests/unit/tst_signon_ui.pro + + qmake-qt4 PREFIX=/usr LIBDIR=/usr/lib + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + make INSTALL_ROOT="$pkgdir" install +} |