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

Jan de Groot jgc at archlinux.org
Fri Dec 26 20:46:05 UTC 2008


    Date: Friday, December 26, 2008 @ 15:46:05
  Author: jgc
Revision: 22460

upgpkg: libdmx 1.0.2-2
    Fix FS#12154, add license

Added:
  libdmx/trunk/COPYING
Modified:
  libdmx/trunk/PKGBUILD

----------+
 COPYING  |   32 ++++++++++++++++++++++++++++++++
 PKGBUILD |   25 +++++++++++++++----------
 2 files changed, 47 insertions(+), 10 deletions(-)

Added: COPYING
===================================================================
--- COPYING	                        (rev 0)
+++ COPYING	2008-12-26 20:46:05 UTC (rev 22460)
@@ -0,0 +1,32 @@
+/*
+ * Copyright 2002-2004 Red Hat Inc., Durham, North Carolina.
+ *
+ * All Rights Reserved.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining
+ * a copy of this software and associated documentation files (the
+ * "Software"), to deal in the Software without restriction, including
+ * without limitation on the rights to use, copy, modify, merge,
+ * publish, distribute, sublicense, and/or sell copies of the Software,
+ * and to permit persons to whom the Software is furnished to do so,
+ * subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice (including the
+ * next paragraph) shall be included in all copies or substantial
+ * portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ * NON-INFRINGEMENT.  IN NO EVENT SHALL RED HAT AND/OR THEIR SUPPLIERS
+ * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
+ * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+ * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/*
+ * Authors:
+ *   Rickard E. (Rik) Faith <faith at redhat.com>
+ *
+ */

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2008-12-26 20:45:49 UTC (rev 22459)
+++ PKGBUILD	2008-12-26 20:46:05 UTC (rev 22460)
@@ -3,19 +3,24 @@
 
 pkgname=libdmx
 pkgver=1.0.2
-pkgrel=1
+pkgrel=2
 pkgdesc="X11 Distributed Multihead extension library"
+arch=('x86_64' 'i686')
 url="http://xorg.freedesktop.org/"
-depends=(dmxproto libxext)
-makedepends=(pkgconfig)
-source=(${url}/releases/individual/lib/${pkgname}-${pkgver}.tar.bz2)
-md5sums=(4d866967210d06098fc9f302ed4c79b1)
+license=('custom')
+depends=('dmxproto' 'libxext')
+makedepends=('pkgconfig')
+options=('!libtool')
+source=(${url}/releases/individual/lib/${pkgname}-${pkgver}.tar.bz2
+	COPYING)
+md5sums=('4d866967210d06098fc9f302ed4c79b1'
+	 'ab8509955c3dd4c65fac728e1b367bc4')
 
 build() {
-  cd ${startdir}/src/${pkgname}-${pkgver}
-  ./configure --prefix=/usr \
-              --build=${CHOST} --host=${CHOST}
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  ./configure --prefix=/usr --mandir=/usr/share/man || return 1
   make || return 1
-  make DESTDIR=${startdir}/pkg install || return 1
+  make DESTDIR="${pkgdir}" install || return 1
+  install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -m644 "${srcdir}/COPYING" "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1
 }
-




More information about the arch-commits mailing list