From 7c151ac5589d3dbef5972f69a62b847ecf565bfa Mon Sep 17 00:00:00 2001 From: root Date: Wed, 30 Oct 2013 01:04:25 -0700 Subject: Wed Oct 30 01:01:59 PDT 2013 --- community/libclens/PKGBUILD | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 community/libclens/PKGBUILD (limited to 'community/libclens/PKGBUILD') diff --git a/community/libclens/PKGBUILD b/community/libclens/PKGBUILD new file mode 100644 index 000000000..5e521a830 --- /dev/null +++ b/community/libclens/PKGBUILD @@ -0,0 +1,43 @@ +# $Id: PKGBUILD 99539 2013-10-29 11:41:22Z spupykin $ +# Maintainer: Sergej Pupykin +# Maintainer: Dan Ziemba + +pkgname=libclens +pkgver=0.7.0 +pkgrel=1 +pkgdesc="Convenience library to aid in porting code from OpenBSD" +arch=(i686 x86_64) +url="https://opensource.conformal.com/wiki/clens" +license=(ISC) +makedepends=(libbsd) +options=('staticlibs') +source=(https://opensource.conformal.com/snapshots/clens/clens-$pkgver.tar.gz) +sha1sums=('71eb0011eef16f1e87131b5aba34d44db92b1145') + +build() { + cd "clens-$pkgver" + mkdir -p obj + make LOCALBASE=/usr +} + +package() { + cd "clens-$pkgver" + make LOCALBASE=/usr DESTDIR="$pkgdir" install + + mkdir -p $pkgdir/usr/share/licenses/libclens + cat <$pkgdir/usr/share/licenses/libclens/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 +} -- cgit v1.2.3-54-g00ecf