summaryrefslogtreecommitdiffstats
path: root/main/tarsnap/APKBUILD
blob: 1534bc2d4ca59f43669f0a3811bc5b8f90992bf3 (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
31
32
33
34
35
# Maintainer: Eivind Uggedal <eivind@uggedal.com>
pkgname=tarsnap
pkgver=1.0.35
pkgrel=0
pkgdesc="Online backups for the truly paranoid"
url="https://www.tarsnap.com/"
arch="x86_64 x86"
license="custom"
depends=""
depends_dev=""
makedepends="e2fsprogs-dev zlib-dev openssl-dev"
options=""
install=""
subpackages="$pkgname-doc"
source="https://www.tarsnap.com/download/$pkgname-autoconf-$pkgver.tgz"

_builddir="$srcdir"/$pkgname-autoconf-$pkgver

build() {
	cd "$_builddir"

	./configure --prefix=/usr --sysconfdir="/etc/$pkgname" || return 1
	make
}

package() {
	cd "$_builddir"

	make DESTDIR="$pkgdir" install || return 1
	install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
}

md5sums="74daeff5479ec6f101a903f4047b526f  tarsnap-autoconf-1.0.35.tgz"
sha256sums="6c9f6756bc43bc225b842f7e3a0ec7204e0cf606e10559d27704e1cc33098c9a  tarsnap-autoconf-1.0.35.tgz"
sha512sums="70f932b172717d7f0d6f96a357487b8f8ad13cb7332d73878f629c3abf0862da54a0621092d81ce8cd9eb8380cf5b4c32e89df4d890949429fc84737024dcb61  tarsnap-autoconf-1.0.35.tgz"