diff options
author | tmpfile <tmpfile@users.noreply.github.com> | 2017-09-06 10:05:43 -0300 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2017-09-06 13:23:58 +0000 |
commit | 67f99c6ac018ab14fa2820e9e0cc0d2fc3de446f (patch) | |
tree | aa1e9a9c3d1588dfa8b3bce7bfa48094c1922866 /main/tarsnap/APKBUILD | |
parent | 05436bc547672d733ddef36dffde7a0e3acbd3fd (diff) | |
download | aports-67f99c6ac018ab14fa2820e9e0cc0d2fc3de446f.tar.bz2 aports-67f99c6ac018ab14fa2820e9e0cc0d2fc3de446f.tar.xz |
main/tarsnap: upgrade to 1.0.39 and add check
Diffstat (limited to 'main/tarsnap/APKBUILD')
-rw-r--r-- | main/tarsnap/APKBUILD | 30 |
1 files changed, 14 insertions, 16 deletions
diff --git a/main/tarsnap/APKBUILD b/main/tarsnap/APKBUILD index 01e606e92a..d8a3453e4d 100644 --- a/main/tarsnap/APKBUILD +++ b/main/tarsnap/APKBUILD @@ -1,40 +1,38 @@ # Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net> # Maintainer: Eivind Uggedal <eivind@uggedal.com> pkgname=tarsnap -pkgver=1.0.37 -pkgrel=2 +pkgver=1.0.39 +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 libressl-dev" -options="" -install="" subpackages="$pkgname-doc" source="https://www.tarsnap.com/download/$pkgname-autoconf-$pkgver.tgz" +builddir="$srcdir"/$pkgname-autoconf-$pkgver -_builddir="$srcdir"/$pkgname-autoconf-$pkgver build() { - cd "$_builddir" + cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc/$pkgname \ --mandir=/usr/share/man \ - --localstatedir=/var \ - || return 1 - make || return 1 + --localstatedir=/var + make +} + +check() { + cd "$builddir" + make check } package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 + cd "$builddir" + make DESTDIR="$pkgdir" install install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" } -md5sums="755492b15a2ab53286182c3ba5f05c94 tarsnap-autoconf-1.0.37.tgz" -sha256sums="fa999413651b3bd994547a10ffe3127b4a85a88b1b9a253f2de798888718dbfa tarsnap-autoconf-1.0.37.tgz" -sha512sums="050053f2109b74cda16511cf35ab2c11e0470ba745c661d254b7c17efde9e629830d519896b343dbd4f48ee739dfef47b724eb5e2e78c3e7dbc4ae018a536a5f tarsnap-autoconf-1.0.37.tgz" +sha512sums="dec8a72144a3a7fd42b006933c904b812894ca9fe2c57ecc4fbba817b9b49c8f15517530a00b0c3a9897e3182b4d9aee525334537806a9c4f7308086678fa2b4 tarsnap-autoconf-1.0.39.tgz" |