Added arch PKGBUILD file from Shadowigor

pull/70/head
deajan 8 years ago
parent 109e67e5b2
commit 2ce199e69d

@ -0,0 +1,32 @@
# Maintainer: Shadowigor <shadowigorr at gmail dot com>
pkgname="osync"
pkgver=v1.00.r219.f70d8cd
pkgrel=1
pkgdesc="A two way filesync script"
arch=("any")
url="https://github.com/deajan/osync"
license=('custom')
depends=('rsync')
makedepends=('git')
provides=("$pkgname")
source=('git+https://github.com/deajan/osync.git#branch=stable')
md5sums=('SKIP')
pkgver()
{
cd "$srcdir/$pkgname"
printf "%s" "$(git describe --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g')"
}
prepare()
{
cd "$pkgname"
find . -type f -exec sed -i "s:/usr/local:/usr:g" {} ";"
find . -type f -exec sed -i "s:/lib:/usr/lib:g" {} ";"
}
package()
{
cd "$pkgname"
echo n | FAKEROOT="$pkgdir" bash ./install.sh > /dev/null
}
Loading…
Cancel
Save