archrelease: copy trunk to community-any
[ArchLinux/community.git] / tarsnap / repos / community-x86_64 / PKGBUILD
blobbef09a68d95861b5ca4b3e731e6df3d58a16042b
1 # Maintainer: Jelle van der Waa <jelle@vdwaa.nl>
3 pkgname=tarsnap
4 pkgver=1.0.40
5 pkgrel=2
6 pkgdesc='An online encrypted snapshotted backup service'
7 arch=('x86_64')
8 url='https://www.tarsnap.com/'
9 license=('custom')
10 depends=('bzip2' 'openssl' 'xz')
11 makedepends=('e2fsprogs')
12 source=("https://www.tarsnap.com/download/${pkgname}-autoconf-${pkgver}.tgz"
13         "${pkgname}-autoconf-${pkgver}.tgz::https://www.tarsnap.com/download/tarsnap-sigs-1.0.38.asc")
14 validpgpkeys=('38DAFD2CEEB3E78D8627F5486D0D5B8046B64BEB')
15 md5sums=('e59792f4449fb7f8dfbd6814c08e3205'
16          'e59792f4449fb7f8dfbd6814c08e3205')
17 sha256sums=('bccae5380c1c1d6be25dccfb7c2eaa8364ba3401aafaee61e3c5574203c27fd5'
18             'bccae5380c1c1d6be25dccfb7c2eaa8364ba3401aafaee61e3c5574203c27fd5')
20 build() {
21   cd "$srcdir/$pkgname-autoconf-$pkgver"
22   ./configure --prefix=/usr --sysconfdir="/etc/$pkgname"
23   make
26 package() {
27   cd "$srcdir/$pkgname-autoconf-$pkgver"
29   make DESTDIR="$pkgdir" install
30   install -D -m644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"