libclog: Fix deps, add license

This commit is contained in:
Dan Ziemba 2013-10-30 21:27:15 -04:00
parent 5f173b30ae
commit 81bd198e7d
2 changed files with 21 additions and 2 deletions

View file

@ -6,7 +6,8 @@ pkgbase = libclog
arch = i686
arch = x86_64
license = ISC
makedepends = libclens=0.7.0
makedepends = libclens
depends = glibc
source = https://opensource.conformal.com/snapshots/clog/clog-0.6.4.tar.gz
sha1sums = eee1ffe2a61b156983dbd75702709f408901df52

View file

@ -8,7 +8,8 @@ arch=(i686 x86_64)
url="https://opensource.conformal.com/wiki/clog"
license=(ISC)
makedepends=('libclens=0.7.0')
depends=('glibc')
makedepends=('libclens')
source=(https://opensource.conformal.com/snapshots/clog/clog-$pkgver.tar.gz)
sha1sums=('eee1ffe2a61b156983dbd75702709f408901df52')
@ -28,4 +29,21 @@ package() {
rm usr/share/man/man3/*
mv templocation usr/share/man/man3/libclog.3
chmod 755 usr/lib/libclog.so.2.6
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
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.
.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF MIND, USE, DATA OR PROFITS, WHETHER
IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
EOF
}