diff options
Diffstat (limited to 'community/grsync')
-rw-r--r-- | community/grsync/PKGBUILD | 27 | ||||
-rw-r--r-- | community/grsync/grsync.install | 13 |
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 +} |