[arch-commits] Commit in box2d/trunk (PKGBUILD)

Sergej Pupykin spupykin at nymeria.archlinux.org
Fri Jun 20 16:54:58 UTC 2014


    Date: Friday, June 20, 2014 @ 18:54:57
  Author: spupykin
Revision: 113373

avoid name collision in shared source cache

Modified:
  box2d/trunk/PKGBUILD

----------+
 PKGBUILD |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-06-20 01:20:45 UTC (rev 113372)
+++ PKGBUILD	2014-06-20 16:54:57 UTC (rev 113373)
@@ -11,11 +11,11 @@
 #depends=('freeglut')
 makedepends=('cmake' 'doxygen' 'svn')
 optdepends=()
-source=(svn+http://box2d.googlecode.com/svn/tags/v${pkgver})
+source=("${pkgname}-${pkgver}::svn+http://box2d.googlecode.com/svn/tags/v${pkgver}")
 md5sums=('SKIP')
 
 build() {
-  cd ${srcdir}/v${pkgver}/Box2D
+  cd ${srcdir}/${pkgname}-${pkgver}/Box2D
  
   msg "Starting build"
   [[ -d build ]] && rm -r build
@@ -31,7 +31,7 @@
 }
 
 package() {
-  cd ${srcdir}/v${pkgver}/Box2D
+  cd ${srcdir}/${pkgname}-${pkgver}/Box2D
 
   cd Documentation
   doxygen
@@ -40,6 +40,6 @@
 
   make DESTDIR=${pkgdir} install
 
-  install -Dm644 ${srcdir}/v${pkgver}/Box2D/License.txt ${pkgdir}/usr/share/licenses/box2d/LICENSE
+  install -Dm644 ${srcdir}/${pkgname}-${pkgver}/Box2D/License.txt ${pkgdir}/usr/share/licenses/box2d/LICENSE
 }
 # vim: sw=2 ts=2 et:




More information about the arch-commits mailing list