[arch-commits] Commit in fixesproto/repos/extra-any (PKGBUILD PKGBUILD)

Jan de Groot jgc at archlinux.org
Sat Feb 18 12:13:57 UTC 2017


    Date: Saturday, February 18, 2017 @ 12:13:57
  Author: jgc
Revision: 289174

archrelease: copy trunk to extra-any

Added:
  fixesproto/repos/extra-any/PKGBUILD
    (from rev 289173, fixesproto/trunk/PKGBUILD)
Deleted:
  fixesproto/repos/extra-any/PKGBUILD

----------+
 PKGBUILD |   63 +++++++++++++++++++++++++++++++++++--------------------------
 1 file changed, 37 insertions(+), 26 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-02-18 12:13:50 UTC (rev 289173)
+++ PKGBUILD	2017-02-18 12:13:57 UTC (rev 289174)
@@ -1,26 +0,0 @@
-# $Id$
-#Maintainer: Jan de Groot <jgc at archlinux.org>
-
-pkgname=fixesproto
-pkgver=5.0
-pkgrel=3
-pkgdesc="X11 Fixes extension wire protocol"
-arch=('any')
-url="http://xorg.freedesktop.org/"
-license=('custom')
-depends=('xproto' 'xextproto')
-makedepends=('xorg-util-macros')
-source=(${url}/releases/individual/proto/${pkgname}-${pkgver}.tar.bz2)
-sha1sums=('ab605af5da8c98c0c2f8b2c578fed7c864ee996a')
-
-build() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-  ./configure --prefix=/usr
-  make
-}
-
-package() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-  make DESTDIR="${pkgdir}" install
-  install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
-}

Copied: fixesproto/repos/extra-any/PKGBUILD (from rev 289173, fixesproto/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-02-18 12:13:57 UTC (rev 289174)
@@ -0,0 +1,37 @@
+# $Id$
+#Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=fixesproto
+pkgver=5.0+9+g4292ec1
+pkgrel=1
+pkgdesc="X11 Fixes extension wire protocol"
+arch=('any')
+url="https://xorg.freedesktop.org/"
+license=('custom')
+depends=('xproto' 'xextproto')
+makedepends=('xorg-util-macros' git)
+_commit=4292ec1c63180c5f4e7c0e606fa68c51913f172b  # master
+source=("git+https://anongit.freedesktop.org/git/xorg/proto/fixesproto#commit=$_commit")
+sha1sums=('SKIP')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/^fixesproto-//;s/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+  NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+  cd "${srcdir}/$pkgname"
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd "${srcdir}/$pkgname"
+  make DESTDIR="${pkgdir}" install
+  install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
+}



More information about the arch-commits mailing list