[arch-commits] Commit in presentproto/trunk (COPYING PKGBUILD)
Andreas Radke
andyrtr at nymeria.archlinux.org
Sat Nov 2 09:31:45 UTC 2013
Date: Saturday, November 2, 2013 @ 10:31:45
Author: andyrtr
Revision: 198723
upgpkg: presentproto 1.0-1
upstream update 1.0 - initially packaged for Arch
Added:
presentproto/trunk/COPYING
Modified:
presentproto/trunk/PKGBUILD
----------+
COPYING | 21 +++++++++++++++++++++
PKGBUILD | 59 +++++++++++++++++++----------------------------------------
2 files changed, 40 insertions(+), 40 deletions(-)
Added: COPYING
===================================================================
--- COPYING (rev 0)
+++ COPYING 2013-11-02 09:31:45 UTC (rev 198723)
@@ -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
===================================================================
--- PKGBUILD 2013-11-02 09:21:05 UTC (rev 198722)
+++ PKGBUILD 2013-11-02 09:31:45 UTC (rev 198723)
@@ -1,51 +1,30 @@
-# 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 <andyrtr at archlinux.org>
-# Maintainer: Your Name <youremail at domain.com>
-pkgname=NAME
-pkgver=VERSION
+pkgname=presentproto
+pkgver=1.0
pkgrel=1
-epoch=
-pkgdesc=""
-arch=()
-url=""
-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'
+pkgdesc="X11 Present protocol specification"
+arch=('any')
+url="http://xorg.freedesktop.org/"
+license=('custom')
+source=(${url}/releases/individual/proto/${pkgname}-${pkgver}.tar.bz2
+ COPYING)
+sha256sums=('812c7d48721f909a0f7a2cb1e91f6eead76159a36c4712f4579ca587552839ce'
+ '5e46864ede2fda46c3cb7cfe3a7b9f9e4bd36d8d21d8010a284caa64b81d465a')
-prepare() {
- cd "$srcdir/$pkgname-$pkgver"
- patch -p1 -i "$srcdir/$pkgname-$pkgver.patch"
-}
-
build() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd $pkgname-$pkgver
./configure --prefix=/usr
make
}
-check() {
- cd "$srcdir/$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/extensions/presentproto.h
+ install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
+ install -m644 ${srcdir}/COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
}
More information about the arch-commits
mailing list