Date: Monday, March 6, 2023 @ 17:31:46
  Author: felixonmars
Revision: 470303

archrelease: copy trunk to testing-x86_64

Added:
  swig/repos/testing-x86_64/
  swig/repos/testing-x86_64/PKGBUILD
    (from rev 470302, swig/trunk/PKGBUILD)

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

Copied: swig/repos/testing-x86_64/PKGBUILD (from rev 470302, 
swig/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD                             (rev 0)
+++ testing-x86_64/PKGBUILD     2023-03-06 17:31:46 UTC (rev 470303)
@@ -0,0 +1,33 @@
+# Maintainer: Felix Yan <[email protected]>
+# Contributor: Stéphane Gaudreault <[email protected]>
+# Contributor: Tom Newsom <[email protected]>
+
+pkgname=swig
+pkgver=4.1.0
+pkgrel=1
+pkgdesc="Generate scripting interfaces to C/C++ code"
+arch=('x86_64')
+url="http://www.swig.org/";
+license=('custom')
+depends=('pcre2' 'gcc-libs')
+checkdepends=('ruby' 'python' 'java-environment' 'tcl' 'php' 'lua' 'r' 'go' 
'boost')
+source=(https://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz)
+sha512sums=('a7d43d6aa764923826786081a3f2e25aa0f8345e1169c1e57bf02d01f6f41c92d8db0f360ec86e0e428ef5a21d1b5cd3edb7e4b71d0beff3e6611e344b5c22b1')
+
+build() {
+  cd ${pkgname}-${pkgver}
+  ./configure --prefix=/usr
+  make
+}
+
+check() {
+  cd ${pkgname}-${pkgver}
+  make check PY3=y
+}
+
+package() {
+  cd ${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
+}

Reply via email to