Commits

Philipp Gesang  committed e4860ec

fix deps, license and conflicts of swig-git

  • Participants
  • Parent commits 6b61c3e

Comments (0)

Files changed (1)

File swig-git/PKGBUILD

 # Contributor: Philipp Gesang <phg42.2a@gmail.com>
 #
-# header of the swig pkgbuild in extra:
+# header of the original swig PKGBUILD in extra:
 # Maintainer: Stéphane Gaudreault <stephane@archlinux.org>
 # Contributor: Tom Newsom <Jeepster@gmx.co.uk>
 
 url="http://www.swig.org/"
 license=("custom")
 depends=("zlib" "pcre")
-makedepends=("git")
+makedepends=("git" "yodl")
 conflicts=("swig")
+provides=("swig" "swig=2.0.10")
 
 _gitroot="https://github.com/swig/swig"
 _gitname="swig"
 package() {
   cd "${srcdir}/${_gitname}-build"
   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
+  install -D -m644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+  install -D -m644 LICENSE-UNIVERSITIES "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE-UNIVERSITIES
 }