summaryrefslogtreecommitdiff
path: root/~coadde/glproto-git/PKGBUILD
diff options
context:
space:
mode:
authorMárcio Alexandre Silva Delgado <coadde@adinet.com.uy>2012-09-08 17:38:39 -0300
committerMárcio Alexandre Silva Delgado <coadde@adinet.com.uy>2012-09-08 17:38:39 -0300
commit07477e1e9bbefaa3fa0f8bf403ff8961b46b073e (patch)
tree215c59bac9b5e806a41eb493a13d65545b1f09e3 /~coadde/glproto-git/PKGBUILD
parentca8e8575287075432bad5840025d7139080b55dd (diff)
removing olds PKGBUILD
Diffstat (limited to '~coadde/glproto-git/PKGBUILD')
-rw-r--r--~coadde/glproto-git/PKGBUILD51
1 files changed, 0 insertions, 51 deletions
diff --git a/~coadde/glproto-git/PKGBUILD b/~coadde/glproto-git/PKGBUILD
deleted file mode 100644
index bde7a57a8..000000000
--- a/~coadde/glproto-git/PKGBUILD
+++ /dev/null
@@ -1,51 +0,0 @@
-# $Id$
-# Maintainer: Jan de Groot <jgc@archlinux.org>
-# Contributor: Alexander Baldeck <alexander@archlinux.org>
-# Maintainer: kfgz <kfgz at interia pl>
-# Contributor: Cilyan Olowen <gaknar at gmail dot com>
-# Maintainer (Parabola): Márcio Silva <coadde@adinet.com.uy>
-
-pkgname=glproto-git
-pkgver=20120612
-pkgrel=1
-pkgdesc="X11 OpenGL extension wire protocol"
-arch=(any)
-url="http://xorg.freedesktop.org/"
-license=('custom')
-provides=('glproto' 'glproto=1.4.15')
-makedepends=('xorg-util-macros>=1.2' 'git')
-conflicts=('glproto')
-
-_gitroot="git://git.freedesktop.org/git/xorg/proto/glproto"
-_gitname="glproto"
-
-build() {
- cd "${srcdir}"
- msg "Connecting to git.freedesktop.org GIT server...."
-
- if [ -d "${srcdir}"/${_gitname} ] ; then
- cd "${_gitname}" && git pull origin
- msg "The local files are updated."
- else
- git clone ${_gitroot}
- fi
-
- msg "GIT checkout done or server timeout"
-
- msg "Creating build directory"
- if [ -d "${srcdir}"/${_gitname}-build ]; then rm -rf "${srcdir}"/${_gitname}-build; fi
- cp -R "${srcdir}"/${_gitname} "${srcdir}"/${_gitname}-build
-
- msg "Starting make..."
- cd "${srcdir}"/${_gitname}-build
- ./autogen.sh --prefix=/usr
- make
-}
-
-package() {
- cd "${srcdir}"/${_gitname}-build
- make DESTDIR="${pkgdir}" install
- install -m755 -d "${pkgdir}"/usr/share/licenses/${pkgname}
- install -m644 "${srcdir}"/${_gitname-build}/COPYING \
- "${pkgdir}"/usr/share/licenses/${pkgname}/
-}