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

2013-11-29 Thread Andreas Radke
Date: Friday, November 29, 2013 @ 21:50:24
  Author: andyrtr
Revision: 200611

upgpkg: libxshmfence 1.1-1

upstream update 1.1

Modified:
  libxshmfence/trunk/PKGBUILD
Deleted:
  libxshmfence/trunk/COPYING

--+
 COPYING  |   21 -
 PKGBUILD |   20 +++-
 2 files changed, 7 insertions(+), 34 deletions(-)

Deleted: COPYING
===
--- COPYING 2013-11-29 20:44:35 UTC (rev 200610)
+++ COPYING 2013-11-29 20:50:24 UTC (rev 200611)
@@ -1,21 +0,0 @@
-/*
- * Copyright © 2013 Keith Packard
- *
- * Permission to use, copy, modify, distribute, and sell this software and its
- * documentation for any purpose is hereby granted without fee, provided that
- * the above copyright notice appear in all copies and that both that copyright
- * notice and this permission notice appear in supporting documentation, and
- * that the name of the copyright holders not be used in advertising or
- * publicity pertaining to distribution of the software without specific,
- * written prior permission.  The copyright holders make no representations
- * about the suitability of this software for any purpose.  It is provided as
- * is without express or implied warranty.
- *
- * THE COPYRIGHT HOLDERS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
- * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
- * EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY SPECIAL, INDIRECT OR
- * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
- * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
- * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
- * OF THIS SOFTWARE.
- */

Modified: PKGBUILD
===
--- PKGBUILD2013-11-29 20:44:35 UTC (rev 200610)
+++ PKGBUILD2013-11-29 20:50:24 UTC (rev 200611)
@@ -2,7 +2,7 @@
 # Maintainer: AndyRTR andy...@archlinux.org
 
 pkgname=libxshmfence
-pkgver=1.0
+pkgver=1.1
 pkgrel=1
 pkgdesc=a library that exposes a event API on top of Linux futexes
 arch=('i686' 'x86_64')
@@ -10,17 +10,15 @@
 license=('GPL')
 #groups=()
 depends=('glibc')
-makedepends=('xorg-util-macros')
-source=(${url}/releases/individual/lib/${pkgname}-${pkgver}.tar.bz2
-COPYING)
-sha256sums=('625089553939baa20e665873a6c8f3d694cfde78fb3110aa59da92fd2b14f14f'
-'5e46864ede2fda46c3cb7cfe3a7b9f9e4bd36d8d21d8010a284caa64b81d465a')
+makedepends=('xorg-util-macros' 'xproto')
+source=(${url}/releases/individual/lib/${pkgname}-${pkgver}.tar.bz2)
+sha256sums=('dbc2db2925ca9f216fd1e9c63d0974db9f4d49aaf5877ffb606d2d8d7e58cebe')
 
 build() {
cd $pkgname-$pkgver

# fix some libtools errors
-   autoreconf -vfi
+   #autoreconf -vfi

./configure --prefix=/usr
make
@@ -34,10 +32,6 @@
 package() {
cd $pkgname-$pkgver
make DESTDIR=$pkgdir/ install
-   
-# license is still missing
-# COPYING is taken from top of /usr/include/X11/xshmfence.h
-install -m755 -d ${pkgdir}/usr/share/licenses/${pkgname}
-install -m644 ${srcdir}/COPYING ${pkgdir}/usr/share/licenses/${pkgname}/
-
+   install -m755 -d ${pkgdir}/usr/share/licenses/${pkgname}
+   install -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/
 }



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

2013-11-02 Thread Andreas Radke
Date: Saturday, November 2, 2013 @ 11:02:41
  Author: andyrtr
Revision: 198728

upgpkg: libxshmfence 1.0-1

upstream update 1.0 - initially packaged for Arch

Added:
  libxshmfence/trunk/COPYING
Modified:
  libxshmfence/trunk/PKGBUILD

--+
 COPYING  |   21 
 PKGBUILD |   62 ++---
 2 files changed, 48 insertions(+), 35 deletions(-)

Added: COPYING
===
--- COPYING (rev 0)
+++ COPYING 2013-11-02 10:02:41 UTC (rev 198728)
@@ -0,0 +1,21 @@
+/*
+ * Copyright © 2013 Keith Packard
+ *
+ * Permission to use, copy, modify, distribute, and sell this software and its
+ * documentation for any purpose is hereby granted without fee, provided that
+ * the above copyright notice appear in all copies and that both that copyright
+ * notice and this permission notice appear in supporting documentation, and
+ * that the name of the copyright holders not be used in advertising or
+ * publicity pertaining to distribution of the software without specific,
+ * written prior permission.  The copyright holders make no representations
+ * about the suitability of this software for any purpose.  It is provided as
+ * is without express or implied warranty.
+ *
+ * THE COPYRIGHT HOLDERS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
+ * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
+ * EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY SPECIAL, INDIRECT OR
+ * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
+ * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
+ * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
+ * OF THIS SOFTWARE.
+ */

Modified: PKGBUILD
===
--- PKGBUILD2013-11-02 10:00:23 UTC (rev 198727)
+++ PKGBUILD2013-11-02 10:02:41 UTC (rev 198728)
@@ -1,51 +1,43 @@
-# This is an example PKGBUILD file. Use this as a start to creating your own,
-# and remove these comments. For more information, see 'man PKGBUILD'.
-# NOTE: Please fill out the license field for your package! If it is unknown,
-# then please put 'unknown'.
+# $Id$
+# Maintainer: AndyRTR andy...@archlinux.org
 
-# Maintainer: Your Name yourem...@domain.com
-pkgname=NAME
-pkgver=VERSION
+pkgname=libxshmfence
+pkgver=1.0
 pkgrel=1
-epoch=
-pkgdesc=
-arch=()
-url=
+pkgdesc=a library that exposes a event API on top of Linux futexes
+arch=('i686' 'x86_64')
+url=http://xorg.freedesktop.org/;
 license=('GPL')
-groups=()
-depends=()
-makedepends=()
-checkdepends=()
-optdepends=()
-provides=()
-conflicts=()
-replaces=()
-backup=()
-options=()
-install=
-changelog=
-source=($pkgname-$pkgver.tar.gz
-$pkgname-$pkgver.patch)
-noextract=()
-md5sums=() #generate with 'makepkg -g'
+#groups=()
+depends=('glibc')
+makedepends=('xorg-util-macros')
+source=(${url}/releases/individual/lib/${pkgname}-${pkgver}.tar.bz2
+COPYING)
+sha256sums=('625089553939baa20e665873a6c8f3d694cfde78fb3110aa59da92fd2b14f14f'
+'5e46864ede2fda46c3cb7cfe3a7b9f9e4bd36d8d21d8010a284caa64b81d465a')
 
-prepare() {
-   cd $srcdir/$pkgname-$pkgver
-   patch -p1 -i $srcdir/$pkgname-$pkgver.patch
-}
-
 build() {
-   cd $srcdir/$pkgname-$pkgver
+   cd $pkgname-$pkgver
+   
+   # fix some libtools errors
+   autoreconf -vfi
+   
./configure --prefix=/usr
make
 }
 
 check() {
-   cd $srcdir/$pkgname-$pkgver
+   cd $pkgname-$pkgver
make -k check
 }
 
 package() {
-   cd $srcdir/$pkgname-$pkgver
+   cd $pkgname-$pkgver
make DESTDIR=$pkgdir/ install
+   
+# license is still missing
+# COPYING is taken from top of /usr/include/X11/xshmfence.h
+install -m755 -d ${pkgdir}/usr/share/licenses/${pkgname}
+install -m644 ${srcdir}/COPYING ${pkgdir}/usr/share/licenses/${pkgname}/
+
 }