updated on Mon Jan 16 00:01:41 UTC 2012
[aur-mirror.git] / gadmin-rsync / PKGBUILD
blob4584f1cb2c5f3b1364748748ee27d5ad5d39e02e
1 # Contributor: Chris Giles <Chris.G.27 (at) Gmail.com>
2 # Maintainer: Nathan Owe <ndowens.aur at gmail dot com>
3 pkgname=gadmin-rsync
4 pkgver=0.1.5
5 pkgrel=2
6 pkgdesc="An easy to use GTK+ frontend for the rsync backup client and server."
7 arch=("i686" "x86_64")
8 url="http://www.gadmintools.org/"
9 license=("GPL")
10 depends=("gtk2" "rsync" "openssh")
11 options=(!emptydirs)
12 optdepends=('gksu: Graphical SU Support')
13 source=("http://mange.dynalias.org/linux/${pkgname}/${pkgname}-${pkgver}.tar.gz" "${pkgname}-menu" "${pkgname}.desktop")
14 md5sums=('cbb77713c159568835d6f012e0450dc3'
15          'd251c6fd24dc651ca14aa4571cbdbe5b'
16          '1236e288d86316fc205a21dd0e1ab7b1')
18 build() {
19         cd ${srcdir}/${pkgname}-${pkgver}
20         ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --sbindir=/usr/sbin 
21         make 
23 package() {
24         cd ${srcdir}/${pkgname}-${pkgver}
25         make DESTDIR=${pkgdir} install 
26         install -Dm644 ${srcdir}/${pkgname}.desktop ${pkgdir}/usr/share/applications/${pkgname}.desktop
27         install -Dm755 ${srcdir}/${pkgname}-menu ${pkgdir}/usr/sbin/${pkgname}-menu