[arch-commits] Commit in libbsd/trunk (LICENSE PKGBUILD)
Eric Bélanger
eric at nymeria.archlinux.org
Sun Jun 16 20:00:22 UTC 2013
Date: Sunday, June 16, 2013 @ 22:00:21
Author: eric
Revision: 188598
upgpkg: libbsd 0.5.2-1
Upstream update, Remove libtool file, Add check function
Modified:
libbsd/trunk/PKGBUILD
Deleted:
libbsd/trunk/LICENSE
----------+
LICENSE | 28 ----------------------------
PKGBUILD | 22 +++++++++++++++-------
2 files changed, 15 insertions(+), 35 deletions(-)
Deleted: LICENSE
===================================================================
--- LICENSE 2013-06-16 18:27:06 UTC (rev 188597)
+++ LICENSE 2013-06-16 20:00:21 UTC (rev 188598)
@@ -1,28 +0,0 @@
-/*-
- * Copyright (c) 1989, 1993
- * The Regents of the University of California. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- * 3. Neither the name of the University nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
- * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
- * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- */
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-06-16 18:27:06 UTC (rev 188597)
+++ PKGBUILD 2013-06-16 20:00:21 UTC (rev 188598)
@@ -3,28 +3,36 @@
# Contributor: Gerardo Exequiel Pozzi <vmlinuz386 at yahoo.com.ar>
pkgname=libbsd
-pkgver=0.4.2
+pkgver=0.5.2
pkgrel=1
pkgdesc="Provides useful functions commonly found on BSD systems like strlcpy()"
arch=('i686' 'x86_64')
url="http://libbsd.freedesktop.org"
license=('custom')
depends=('glibc')
-source=(http://libbsd.freedesktop.org/releases/$pkgname-$pkgver.tar.gz)
-md5sums=('591fc9de4ca22f78cf87a94e648a92f4')
+options=('!libtool')
+source=(http://libbsd.freedesktop.org/releases/$pkgname-$pkgver.tar.xz{,.asc})
+md5sums=('be8b2e0dc4614699834c49693574fd1a'
+ 'SKIP')
build() {
- cd $srcdir/$pkgname-$pkgver
+ cd $pkgname-$pkgver
./configure --prefix=/usr
make
}
+check() {
+ cd $pkgname-$pkgver
+
+ make check
+}
+
package() {
- cd $srcdir/$pkgname-$pkgver
+ cd $pkgname-$pkgver
- make DESTDIR=$pkgdir install
- install -D -m644 COPYING $pkgdir/usr/share/licenses/$pkgname/LICENSE
+ make DESTDIR="$pkgdir" install
+ install -D -m644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list