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

Eric Belanger eric at archlinux.org
Wed Jul 9 01:31:16 UTC 2008


    Date: Tuesday, July 8, 2008 @ 21:31:16
  Author: eric
Revision: 4704

upgpkg: jhead 2.82-1
    Added license, FSH man pages

Added:
  jhead/trunk/LICENSE
Modified:
  jhead/trunk/PKGBUILD

----------+
 LICENSE  |   12 ++++++++++++
 PKGBUILD |   13 ++++++-------
 2 files changed, 18 insertions(+), 7 deletions(-)

Added: LICENSE
===================================================================
--- LICENSE	                        (rev 0)
+++ LICENSE	2008-07-09 01:31:16 UTC (rev 4704)
@@ -0,0 +1,12 @@
+License:
+
+    Jhead is public domain software - that is, you can do whatever you want
+    with it, and include it software that is licensesed under the GNU or the 
+    BSD license, or whatever other licence you chose, including proprietary
+    closed source licenses.  Although not part of the liscense, I do expect
+    common courtesy, please.
+
+    If you do integrate the code into some software of yours, I'd appreciate
+    knowing about it though. 
+
+Matthias Wandel

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2008-07-09 01:15:46 UTC (rev 4703)
+++ PKGBUILD	2008-07-09 01:31:16 UTC (rev 4704)
@@ -7,19 +7,18 @@
 pkgdesc="EXIF JPEG info parser and thumbnail remover"
 url="http://www.sentex.net/~mwandel/jhead/"
 arch=('i686' 'x86_64')
+license=('custom')
 depends=(glibc)
 conflicts=()
 backup=()
 install=
-source=($url/$pkgname-$pkgver.tar.gz)
-md5sums=('ef2f3233e22ba054c90ba33068cb0a70')
+source=($url/$pkgname-$pkgver.tar.gz LICENSE)
+md5sums=('ef2f3233e22ba054c90ba33068cb0a70' '1f0db611d2642a981719f45252762a45')
 
 build() {
   cd $startdir/src/$pkgname-$pkgver
-  mkdir -p $startdir/pkg/usr/bin
-  mkdir -p $startdir/pkg/usr/man/man1
   make || return 1
-  cp $pkgname $startdir/pkg/usr/bin
-  cp $pkgname.1.gz $startdir/pkg/usr/man/man1
-
+  install -D -m755 $pkgname $startdir/pkg/usr/bin/$pkgname
+  install -D -m644 $pkgname.1.gz $startdir/pkg/usr/share/man/man1/$pkgname.1.gz
+  install -D -m644 ../LICENSE $startdir/pkg/usr/share/licenses/$pkgname/LICENSE
 }





More information about the arch-commits mailing list