dirsync-1.11-1

This commit is contained in:
Jaroslav Lichtblau 2014-12-01 20:00:30 +01:00
parent eb7c31417e
commit 53f934f1b2
2 changed files with 19 additions and 12 deletions

View file

@ -1,5 +1,5 @@
pkgbase = dirsync
pkgdesc = Directory Synchronizer this utility take two argument the source directory and the destination and make recursively the two directories identical
pkgdesc = This utility take two directory paths as arguments and makes them recursively identical
pkgver = 1.11
pkgrel = 1
url = http://www.viara.eu/en/dirsync.htm

View file

@ -4,23 +4,30 @@
pkgname=dirsync
pkgver=1.11
origver=1_11
pkgrel=1
pkgdesc="Directory Synchronizer this utility take two argument the source directory and the destination and make recursively the two directories identical"
pkgdesc="This utility take two directory paths as arguments and makes them recursively identical"
arch=('i686' 'x86_64')
url="http://www.viara.eu/en/dirsync.htm"
license=('unknown')
source=(http://www.viara.eu/download/$pkgname-$origver.tar.gz)
source=(http://www.viara.eu/download/$pkgname-1_11.tar.gz)
md5sums=('2eb3745f674fb71047ca4e64110ceb68')
build() {
cd ${srcdir}
prepare() {
cd "${srcdir}"
install -d ${pkgdir}/usr/bin || return 1
rm $pkgname || return 1
make linux || return 1
sed -i 's|/usr/local|/usr/share|g' makefile || return 1
make DESTDIR=${pkgdir} install || return 1
install -d "${pkgdir}"/usr/bin
rm $pkgname
}
build() {
cd "${srcdir}"
make linux
}
package() {
cd "${srcdir}"
sed -i 's|/usr/local|/usr/share|g' makefile
make DESTDIR="${pkgdir}" install
}