mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-28 23:21:53 +00:00
36 lines
1.7 KiB
Bash
36 lines
1.7 KiB
Bash
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
|
|
# Contributor: Sergej Pupykin <ps@lx-ltd.ru>
|
|
arch=(i686 x86_64)
|
|
pkgname=arch-backup
|
|
pkgver=0.8.7
|
|
pkgrel=1
|
|
pkgdesc="trivial backup scripts (ssh/smb support)"
|
|
url="http://code.google.com/p/archlinux-stuff/"
|
|
license=("GPL")
|
|
depends=()
|
|
backup=(etc/arch-backup/arch-backup.conf)
|
|
source=(http://archlinux-stuff.googlecode.com/files/arch-backup-$pkgver.tar.gz)
|
|
md5sums=('bb0a7ea36b0a19f43fcceeb93c996afc')
|
|
|
|
build() {
|
|
install -D -m 0644 $startdir/src/arch-backup-$pkgver/arch-backup.conf \
|
|
$startdir/pkg/etc/arch-backup/arch-backup.conf && \
|
|
install -D -m 0755 $startdir/src/arch-backup-$pkgver/arch-backup.sh \
|
|
$startdir/pkg/usr/bin/arch-backup && \
|
|
install -D -m 0755 $startdir/src/arch-backup-$pkgver/ssh-backup.sh \
|
|
$startdir/pkg/usr/lib/arch-backup/ssh && \
|
|
install -D -m 0755 $startdir/src/arch-backup-$pkgver/smb-backup.sh \
|
|
$startdir/pkg/usr/lib/arch-backup/smb && \
|
|
install -D -m 0755 $startdir/src/arch-backup-$pkgver/local-backup.sh \
|
|
$startdir/pkg/usr/lib/arch-backup/local && \
|
|
install -D -m 0644 $startdir/src/arch-backup-$pkgver/common.inc \
|
|
$startdir/pkg/usr/lib/arch-backup/common.inc && \
|
|
install -D -m 0644 $startdir/src/arch-backup-$pkgver/local-example.conf \
|
|
$startdir/pkg/etc/arch-backup/_local-example && \
|
|
install -D -m 0644 $startdir/src/arch-backup-$pkgver/ssh-example.conf \
|
|
$startdir/pkg/etc/arch-backup/_ssh-example && \
|
|
install -D -m 0644 $startdir/src/arch-backup-$pkgver/smb-example.conf \
|
|
$startdir/pkg/etc/arch-backup/_smb-example
|
|
install -D -m 0644 $startdir/src/arch-backup-$pkgver/arch-backup.8 \
|
|
$startdir/pkg/usr/man/man8/arch-backup.8
|
|
}
|