diff options
Diffstat (limited to 'community/libclens/PKGBUILD')
-rw-r--r-- | community/libclens/PKGBUILD | 43 |
1 files changed, 43 insertions, 0 deletions
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 <pupykin.s+arch@gmail.com> +# Maintainer: Dan Ziemba <zman0900@gmail.com> + +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 <<EOF >$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 +} |