aboutsummaryrefslogtreecommitdiffstats
path: root/main/tarsnap/APKBUILD
blob: 8779b179cda3b9d5e80b51829530138868fbb701 (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.36.1
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="3759b06a0fa8d2c7a17ada78c0160380  tarsnap-autoconf-1.0.36.1.tgz"
sha256sums="a2909e01e2f983179d63ef2094c42102c92c716032864e66ef25ae341ea28690  tarsnap-autoconf-1.0.36.1.tgz"
sha512sums="45ea74e0e4fbbc77f9f029504267dd83b88c16e1394b8f650ae4a515a061e80ff79068c9935e45faccb2c9f202b32358816d43ff39395ce4ab1d42b5ac3c5fca  tarsnap-autoconf-1.0.36.1.tgz"