You are not logged in.

#1 2011-07-06 11:32:06

unikum
Member
From: Russia
Registered: 2010-09-04
Posts: 151
Website

[SOLVED] syncBackup

Front-end for rsync provides a fast and extraordinarily copying tool. It offers the most common options that control its behavior and permit very flexible specification of the set of files to be copied.

url=http://www.darhon.com/syncbackup
src=http://www.darhon.com/sites/default/files/downloads/apps/syncbackup_1.0.1.tar_.gz

I tried make the PKGBUILD, but i don't know how define DESTDIR in 'make install' command. 'make DESTDIR="${pkgdir}" install' and 'make prefix=${pkgdir}/usr' not work. Seems I need to use sed for src/Makefile after 'make' or use sed for src/src.pro. I need help with this issue.

# Contributor: Artem A. Klevtsov <unikum.pm@gmail.com>

pkgname=syncbackup
pkgver=1.01
pkgrel=1
pkgdesc="Front-end of rsync for backup purposes. writen on Qt"
arch=('i686' 'x86_64')
url='http://www.darhon.com/syncbackup'
license=('GPL2')
depends=('qt')
source=("http://www.darhon.com/sites/default/files/downloads/apps/${pkgname}_1.0.1.tar_.gz")
md5sums=('a6fc7b0134bfb7060ea314bb2182a64e')

build() {
  cd "${srcdir}/pkg"
  qmake syncbackup.pro
  make
}

package() {
  cd "${srcdir}/pkg"
  make DESTDIR="${pkgdir}" install
} 

Last edited by unikum (2011-07-06 15:17:26)

Offline

#2 2011-07-06 15:02:47

unikum
Member
From: Russia
Registered: 2010-09-04
Posts: 151
Website

Re: [SOLVED] syncBackup

I find solution: 'make INSTALL_ROOT=${pkgdir} install' work fine.
Solved: https://aur.archlinux.org/packages.php?ID=50519

Last edited by unikum (2011-07-06 15:17:12)

Offline

Board footer

Powered by FluxBB