summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 25fd6a7da47c928fbe720b11582e1404f98d1592 (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
30
# Maintainer: kleintux <reg-archlinux AT klein DOT tuxli DOT ch> 
# Contributor: marazmista <marazmista@gmail.com>

pkgname=tar-backup-git
pkgver=20140128
pkgrel=1
pkgdesc="Tar backup tool"
url="https://github.com/marazmista/tar-backup"
arch=('i686' 'x86_64')
license=('GPL2')
depends=('tar' 'openssl' 'qt4')
makedepends=('git')
provides=('tar-backup')
replaces=('tar-backup')
source=("git+${url}")
sha256sums=('SKIP')
 
build() {
  mkdir -p build
  cd build
  qmake-qt4 "../tar-backup/tar-backup/"
  make
}
 
package() {
  cd build
  make prefix="${pkgdir}" install
  install -Dm644 "${srcdir}/build/tar-backup" "${pkgdir}/usr/bin/tar-backup"
  chmod +x "${pkgdir}/usr/bin/tar-backup"
}