[arch-commits] Commit in libzip/trunk (PKGBUILD)

Eric Bélanger eric at archlinux.org
Thu Mar 29 19:59:03 EDT 2012


    Date: Thursday, March 29, 2012 @ 19:59:03
  Author: eric
Revision: 154545

upgpkg: libzip 0.10.1-1

Upstream update, Fix license

Modified:
  libzip/trunk/PKGBUILD

----------+
 PKGBUILD |   13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-03-29 23:56:29 UTC (rev 154544)
+++ PKGBUILD	2012-03-29 23:59:03 UTC (rev 154545)
@@ -3,17 +3,17 @@
 # Contributor: Tobias Powalowski <tpowa at archlinux.org>
 
 pkgname=libzip
-pkgver=0.10
-pkgrel=2
+pkgver=0.10.1
+pkgrel=1
 pkgdesc="A C library for reading, creating, and modifying zip archives"
 url="http://www.nih.at/libzip/index.html"
-license=('GPL2')
+license=('BSD')
 arch=('i686' 'x86_64')
 depends=('zlib')
 options=('!libtool')
-source=("http://www.nih.at/${pkgname}/${pkgname}-${pkgver}.tar.gz"
+source=("http://www.nih.at/${pkgname}/${pkgname}-${pkgver}.tar.bz2"
         'fix-headers.patch')
-md5sums=('47cdfcbc08c8bea0b52fdee4bf591622'
+md5sums=('d3e933ae049204badccf605f20aaecde'
          '249395bd3a426c4c4e993e9d4753e1dd')
 
 build() {
@@ -27,5 +27,6 @@
 
 package() {
   cd "${srcdir}/${pkgname}-${pkgver}"
-  make DESTDIR=${pkgdir} install
+  make DESTDIR="${pkgdir}" install
+  install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
 }



More information about the arch-commits mailing list