summaryrefslogtreecommitdiff
path: root/community
diff options
context:
space:
mode:
Diffstat (limited to 'community')
-rw-r--r--community/fcitx/PKGBUILD4
-rw-r--r--community/fcitx/fcitx-gtk2.install4
-rw-r--r--community/nomacs/PKGBUILD30
-rw-r--r--community/nomacs/nomacs.install11
4 files changed, 44 insertions, 5 deletions
diff --git a/community/fcitx/PKGBUILD b/community/fcitx/PKGBUILD
index 0e1427be1..e3731f66f 100644
--- a/community/fcitx/PKGBUILD
+++ b/community/fcitx/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 93362 2013-07-02 09:47:19Z fyan $
+# $Id: PKGBUILD 93582 2013-07-06 12:35:20Z fyan $
# Maintainer: Felix Yan <felixonmars@gmail.com>
# Contributor: Andrea Scarpino <andrea@archlinux.org>
# Contributor: csslayer <wengxt AT gmail com>
@@ -6,7 +6,7 @@
pkgbase=fcitx
pkgname=('fcitx' 'fcitx-gtk2' 'fcitx-gtk3' 'fcitx-qt4')
pkgver=4.2.8
-pkgrel=2
+pkgrel=3
groups=('fcitx-im')
arch=('i686' 'x86_64')
url="http://fcitx-im.org"
diff --git a/community/fcitx/fcitx-gtk2.install b/community/fcitx/fcitx-gtk2.install
index 2bdfac388..e99de41ed 100644
--- a/community/fcitx/fcitx-gtk2.install
+++ b/community/fcitx/fcitx-gtk2.install
@@ -1,7 +1,5 @@
post_install() {
- if res="$(usr/bin/gtk-query-immodules-2.0)"; then
- echo "$res" > etc/gtk-2.0/gtk.immodules
- fi
+ /usr/bin/gtk-query-immodules-2.0 --update-cache
}
post_upgrade() {
diff --git a/community/nomacs/PKGBUILD b/community/nomacs/PKGBUILD
new file mode 100644
index 000000000..f7041dc5a
--- /dev/null
+++ b/community/nomacs/PKGBUILD
@@ -0,0 +1,30 @@
+# $Id: PKGBUILD 93593 2013-07-06 18:56:13Z speps $
+# Maintainer: speps <speps at aur dot archlinux dot org>
+
+pkgname=nomacs
+pkgver=1.2.0
+pkgrel=1
+pkgdesc="A Qt image viewer"
+arch=(i686 x86_64)
+url="http://www.nomacs.org/"
+license=('GPL3')
+depends=('qt4' 'exiv2' 'libraw' 'opencv')
+makedepends=('cmake')
+install="$pkgname.install"
+source=("http://downloads.sourceforge.net/project/$pkgname/$pkgname-$pkgver/$pkgname-$pkgver-source.tar.bz2")
+md5sums=('0fdef67b960276375024f270dfaa4b93')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ [ -d bld ] || mkdir bld && cd bld
+ cmake .. -DCMAKE_INSTALL_PREFIX=/usr \
+ -DQT_QMAKE_EXECUTABLE=/usr/bin/qmake-qt4
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver/bld"
+ make DESTDIR="$pkgdir/" install
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/community/nomacs/nomacs.install b/community/nomacs/nomacs.install
new file mode 100644
index 000000000..e111ef946
--- /dev/null
+++ b/community/nomacs/nomacs.install
@@ -0,0 +1,11 @@
+post_install() {
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}