mirror of
https://github.com/archlinux/aur.git
synced 2026-03-05 14:22:37 +01:00
dirsync-1.11-1
This commit is contained in:
parent
eb7c31417e
commit
53f934f1b2
2 changed files with 19 additions and 12 deletions
2
.SRCINFO
2
.SRCINFO
|
|
@ -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
|
||||
|
|
|
|||
29
PKGBUILD
29
PKGBUILD
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue