From a71963162082bcefa30607e91d1eefcd141a24a8 Mon Sep 17 00:00:00 2001 From: Dan Ziemba Date: Wed, 3 Dec 2014 23:14:04 -0500 Subject: [PATCH] Renamed package to cyphertite Package will replace previous cyphertite-external-libs package name. --- .SRCINFO | 7 +++---- PKGBUILD | 16 +++++++--------- 2 files changed, 10 insertions(+), 13 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 18749032c71e..9da6c9da6aec 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,4 +1,4 @@ -pkgbase = cyphertite-external-libs +pkgbase = cyphertite pkgdesc = A high-security scalable solution for online backups pkgver = 2.0.4 pkgrel = 1 @@ -19,12 +19,11 @@ pkgbase = cyphertite-external-libs depends = libevent>=2.0.10 depends = openssl>=1.0.1.g depends = sqlite>=3.0.0 - provides = cyphertite - conflicts = cyphertite + replaces = cyphertite-external-libs source = https://opensource.conformal.com/snapshots/cyphertite/cyphertite-2.0.4.tar.gz source = cyphertite-dynamic-link.patch sha1sums = 95941fe3f1e18c7639405b0c0f16409b4ddab91a sha1sums = 2f90214c2827dd7e66bcffe7724d0415a2411822 -pkgname = cyphertite-external-libs +pkgname = cyphertite diff --git a/PKGBUILD b/PKGBUILD index 888053ca12f1..7b5936921d6a 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,7 +1,6 @@ #Maintainer: Dan Ziemba -_pkgbasename=cyphertite -pkgname=$_pkgbasename-external-libs +pkgname=cyphertite pkgver=2.0.4 pkgrel=1 pkgdesc="A high-security scalable solution for online backups" @@ -23,8 +22,7 @@ depends=('libassl' 'sqlite>=3.0.0' ) makedepends=('libclens') -conflicts=('cyphertite') -provides=('cyphertite') +replaces=('cyphertite-external-libs') source=(https://opensource.conformal.com/snapshots/cyphertite/cyphertite-$pkgver.tar.gz cyphertite-dynamic-link.patch) @@ -32,12 +30,12 @@ sha1sums=('95941fe3f1e18c7639405b0c0f16409b4ddab91a' '2f90214c2827dd7e66bcffe7724d0415a2411822') prepare() { - cd "$_pkgbasename-$pkgver" + cd "$pkgname-$pkgver" patch -u -p0 -i $srcdir/cyphertite-dynamic-link.patch } build() { - cd "$_pkgbasename-$pkgver" + cd "$pkgname-$pkgver" make LOCALBASE=/usr obj msg "Building ctutil..." @@ -51,11 +49,11 @@ build() { } package() { - cd "$_pkgbasename-$pkgver" + cd "$pkgname-$pkgver" make -C cyphertite LOCALBASE=/usr DESTDIR="$pkgdir" install - mkdir -p $pkgdir/usr/share/licenses/$_pkgbasename - cat <$pkgdir/usr/share/licenses/$_pkgbasename/LICENSE + mkdir -p $pkgdir/usr/share/licenses/$pkgname + cat <$pkgdir/usr/share/licenses/$pkgname/LICENSE ISC . Permission to use, copy, modify, and distribute this software for any