[arch-commits] Commit in rpmunpack/repos (3 files)

Eric Bélanger eric at archlinux.org
Fri Apr 17 22:49:33 UTC 2009


    Date: Friday, April 17, 2009 @ 18:49:32
  Author: eric
Revision: 35873

Merged revisions 35872 via svnmerge from 
svn+ssh://svn.archlinux.org/srv/svn-packages/rpmunpack/trunk

........
  r35872 | eric | 2009-04-17 18:49:18 -0400 (Fri, 17 Apr 2009) | 2 lines
  
  upgpkg: rpmunpack 0-2
      Added license, Added glibc depends
........

Added:
  rpmunpack/repos/extra-x86_64/LICENSE
    (from rev 35872, rpmunpack/trunk/LICENSE)
Modified:
  rpmunpack/repos/extra-x86_64/	(properties)
  rpmunpack/repos/extra-x86_64/PKGBUILD

----------+
 LICENSE  |   11 +++++++++++
 PKGBUILD |   16 +++++++++-------
 2 files changed, 20 insertions(+), 7 deletions(-)


Property changes on: rpmunpack/repos/extra-x86_64
___________________________________________________________________
Modified: svnmerge-integrated
   - /rpmunpack/trunk:1-9196
   + /rpmunpack/trunk:1-35872

Copied: rpmunpack/repos/extra-x86_64/LICENSE (from rev 35872, rpmunpack/trunk/LICENSE)
===================================================================
--- extra-x86_64/LICENSE	                        (rev 0)
+++ extra-x86_64/LICENSE	2009-04-17 22:49:32 UTC (rev 35873)
@@ -0,0 +1,11 @@
+Copyright:
+=========
+
+This program has been released into the public domain. You can do whatever
+you like with it. This includes modifying the source, redistributing it etc.
+However, this source code is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. The author cannot be held liable for any
+damage whatsoever produced by the intended or even incorrect use of any part
+of this source code, the resulting binary or any product generated by using
+and/or modifying these sources.

Modified: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD	2009-04-17 22:49:18 UTC (rev 35872)
+++ extra-x86_64/PKGBUILD	2009-04-17 22:49:32 UTC (rev 35873)
@@ -4,16 +4,18 @@
 
 pkgname=rpmunpack
 pkgver=0
-pkgrel=1
+pkgrel=2
 pkgdesc="This program converts rpm archives to cpio archives for cpio or afio"
 arch=(i686 x86_64)
 url="http://www.ibiblio.org/pub/Linux/utils/package"
-source=(http://www.ibiblio.org/pub/Linux/utils/package/$pkgname.tar.gz)
-md5sums=('59608ae17af86e39e867329448674674')
+license=('custom')
+depends=('glibc')
+source=(http://www.ibiblio.org/pub/Linux/utils/package/$pkgname.tar.gz LICENSE)
+md5sums=('59608ae17af86e39e867329448674674' '93877a588c62512621c6d155bf6679a0')
 
 build() {
-cd $startdir/src/$pkgname
-make || return 1
-mkdir -p $startdir/pkg/usr/bin
-cp rpmunpack $startdir/pkg/usr/bin
+  cd $srcdir/$pkgname
+  make || return 1
+  install -D -m755 rpmunpack $pkgdir/usr/bin/rpmunpack || return 1
+  install -D -m644 ../LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
 }




More information about the arch-commits mailing list