Renamed package to cyphertite

Package will replace previous cyphertite-external-libs package name.
This commit is contained in:
Dan Ziemba 2014-12-03 23:14:04 -05:00
parent 8862efd375
commit a719631620
2 changed files with 10 additions and 13 deletions

View file

@ -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

View file

@ -1,7 +1,6 @@
#Maintainer: Dan Ziemba <zman0900@gmail.com>
_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 <<EOF >$pkgdir/usr/share/licenses/$_pkgbasename/LICENSE
mkdir -p $pkgdir/usr/share/licenses/$pkgname
cat <<EOF >$pkgdir/usr/share/licenses/$pkgname/LICENSE
ISC
.
Permission to use, copy, modify, and distribute this software for any