diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/grsync |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/grsync')
-rw-r--r-- | community/grsync/PKGBUILD | 23 | ||||
-rw-r--r-- | community/grsync/grsync.install | 13 |
2 files changed, 36 insertions, 0 deletions
diff --git a/community/grsync/PKGBUILD b/community/grsync/PKGBUILD new file mode 100644 index 000000000..9b5cb826d --- /dev/null +++ b/community/grsync/PKGBUILD @@ -0,0 +1,23 @@ +# $Id: PKGBUILD 16852 2010-05-11 12:30:04Z spupykin $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Maintainer: William Rea <sillywilly@gmail.com> + +pkgname=grsync +pkgver=1.1.1 +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=('81d3b6a1827fa1b06d87491f9bb1c8b9') + +build() { + cd $startdir/src/grsync-$pkgver + [ $NOEXTRACT -eq 1 ] || ./configure --prefix=/usr + make || return 1 + make DESTDIR=$startdir/pkg install +} diff --git a/community/grsync/grsync.install b/community/grsync/grsync.install new file mode 100644 index 000000000..5f0358791 --- /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 +} |