summaryrefslogtreecommitdiff
path: root/community/grsync
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
committerroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
commit8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch)
tree03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/grsync
parente445a313723389ba9ee1fded025c567dae5b21ea (diff)
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/grsync')
-rw-r--r--community/grsync/PKGBUILD27
-rw-r--r--community/grsync/grsync.install13
2 files changed, 40 insertions, 0 deletions
diff --git a/community/grsync/PKGBUILD b/community/grsync/PKGBUILD
new file mode 100644
index 000000000..c5fb910f0
--- /dev/null
+++ b/community/grsync/PKGBUILD
@@ -0,0 +1,27 @@
+# $Id: PKGBUILD 93852 2013-07-11 12:03:07Z spupykin $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Maintainer: William Rea <sillywilly@gmail.com>
+
+pkgname=grsync
+pkgver=1.2.4
+pkgrel=1
+pkgdesc="GTK GUI for rsync"
+arch=('i686' 'x86_64')
+url="http://www.opbyte.it/grsync"
+license=('GPL')
+depends=('gtk2' 'rsync')
+makedepends=('gettext' 'intltool')
+install=grsync.install
+source=(http://www.opbyte.it/release/grsync-$pkgver.tar.gz)
+md5sums=('253faeac01ef32f0766e9a58ada00abc')
+
+build() {
+ cd $srcdir/grsync-$pkgver
+ [ $NOEXTRACT -eq 1 ] || LDFLAGS=-lm ./configure --prefix=/usr --disable-unity
+ make
+}
+
+package() {
+ cd $srcdir/grsync-$pkgver
+ make DESTDIR=$pkgdir install
+}
diff --git a/community/grsync/grsync.install b/community/grsync/grsync.install
new file mode 100644
index 000000000..1eb57303c
--- /dev/null
+++ b/community/grsync/grsync.install
@@ -0,0 +1,13 @@
+post_install() {
+ [ -x `which update-mime-database` ] && update-mime-database usr/share/mime
+ [ -x `which gtk-update-icon-cache` ] && gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+ bin/true
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+}