[arch-commits] Commit in swig/repos (staging-i686 testing-i686 testing-i686/PKGBUILD)

Allan McRae allan at archlinux.org
Thu Feb 9 00:00:14 UTC 2012


    Date: Wednesday, February 8, 2012 @ 19:00:13
  Author: allan
Revision: 149684

db-move: moved swig from [staging] to [testing] (i686)

Added:
  swig/repos/testing-i686/
  swig/repos/testing-i686/PKGBUILD
    (from rev 149641, swig/repos/staging-i686/PKGBUILD)
Deleted:
  swig/repos/staging-i686/

----------+
 PKGBUILD |   27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

Copied: swig/repos/testing-i686/PKGBUILD (from rev 149641, swig/repos/staging-i686/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2012-02-09 00:00:13 UTC (rev 149684)
@@ -0,0 +1,27 @@
+# $Id$
+# Maintainer: Stéphane Gaudreault <stephane at archlinux.org>
+# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
+
+pkgname=swig
+pkgver=2.0.4
+pkgrel=3
+pkgdesc="Generate scripting interfaces to C/C++ code"
+arch=('i686' 'x86_64')
+url="http://www.swig.org/"
+license=('custom')
+depends=('zlib' 'pcre')
+source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz)
+sha1sums=('ace563563a8f6f367ba82236e5bea240adea0d94')
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+  install -D -m644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+  install -D -m644 LICENSE-UNIVERSITIES "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE-UNIVERSITIES
+}




More information about the arch-commits mailing list