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

Eric Bélanger eric at archlinux.org
Fri Apr 17 18:49:18 EDT 2009


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

upgpkg: rpmunpack 0-2
    Added license, Added glibc depends

Added:
  rpmunpack/trunk/LICENSE
Modified:
  rpmunpack/trunk/PKGBUILD

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

Added: LICENSE
===================================================================
--- LICENSE	                        (rev 0)
+++ LICENSE	2009-04-17 22:49:18 UTC (rev 35872)
@@ -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: PKGBUILD
===================================================================
--- PKGBUILD	2009-04-17 22:48:08 UTC (rev 35871)
+++ PKGBUILD	2009-04-17 22:49:18 UTC (rev 35872)
@@ -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