[arch-commits] Commit in swig/repos (3 files)

Allan McRae allan at archlinux.org
Wed Feb 8 19:00:16 EST 2012


    Date: Wednesday, February 8, 2012 @ 19:00:15
  Author: allan
Revision: 149685

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

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

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

Copied: swig/repos/testing-x86_64/PKGBUILD (from rev 149641, swig/repos/staging-x86_64/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2012-02-09 00:00:15 UTC (rev 149685)
@@ -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