summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 082bb06b3aec3a312f50134836b51bef2250d7bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Maintainer: tritonas00 <tritonas00@gmail.com>
pkgname=system-tar-and-restore
pkgver=4.9.2
pkgrel=2
pkgdesc='Backup and Restore your system using tar or Transfer it with rsync'
arch=('any')
license=('GPL')
depends=('rsync' 'wget')
optdepends=('dialog: Ncurses interface support' 'grub: Grub support' 'dosfstools: UEFI support' 'efibootmgr: UEFI support'
            'syslinux: Syslinux support' 'gptfdisk: GPT with Syslinux support' 'pigz: multicore compression' 'pbzip2: multicore compression'
            'pxz: multicore compression' 'gtkdialog: GUI wrapper')
url="https://github.com/tritonas00/system-tar-and-restore"
source=("https://github.com/tritonas00/system-tar-and-restore/archive/$pkgver.tar.gz"
        "readme.install")

md5sums=('4142245ca70202e94b4d98d53efdcd87'
         'c2df236e728583b3974f58034e888dc8')

install=readme.install

package() {
  cd "$srcdir/$pkgname-$pkgver"
  gzip system-tar-and-restore.1
  install -Dm755 backup.sh "$pkgdir/usr/bin/backup.sh"
  install -Dm755 restore.sh "$pkgdir/usr/bin/restore.sh"
  install -Dm755 star-gui.sh "$pkgdir/usr/bin/star-gui.sh"
  install -Dm755 system-tar-and-restore.1.gz "$pkgdir/usr/share/man/man1/system-tar-and-restore.1.gz"
  install -Dm755 backup.conf "$pkgdir/usr/share/system-tar-and-restore/backup.conf"
}