From c41c24ff96eaf72abcd6ce93e281d5f51af105df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Chr=C3=A9tien?= Date: Wed, 12 Jun 2013 20:35:27 +0900 Subject: [PATCH] Add original py++ and py++-svn PKGBUILDs. --- .SRCINFO | 15 +++++++++++++++ PKGBUILD | 29 +++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+) create mode 100644 .SRCINFO create mode 100644 PKGBUILD diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..cc0fa2e0f05c --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = py++-svn + pkgdesc = Py++ package and Boost.Python library provide a complete solution for interfacing Python and C++ + pkgver = 1856 + pkgrel = 1 + url = http://www.language-binding.net/index.html + arch = i686 + arch = x86_64 + license = custom + makedepends = subversion + depends = pygccxml + provides = py++ + conflicts = py++ + +pkgname = py++-svn + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..52c9f89db1e9 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,29 @@ +pkgname=py++-svn +pkgver=1856 +pkgrel=1 +pkgdesc="Py++ package and Boost.Python library provide a complete solution for interfacing Python and C++" +arch=('i686' 'x86_64') +arch=('i686' 'x86_64') +url="http://www.language-binding.net/index.html" +depends=('pygccxml') +makedepends=('subversion') +provides=('py++') +conflicts=('py++') +license=('custom') + +_svntrunk="http://pygccxml.svn.sourceforge.net/svnroot/pygccxml/pyplusplus_dev" +_svnmod="pyplusplus" + +build() { + cd "$srcdir" + mkdir -p root + msg "Connecting to pyplusplus SVN server......." + svn co "$_svntrunk" "$_svnmod" + msg "Starting make..." + cd "$_svnmod" + python2 setup.py install --prefix=../root/ +} + +package() { + cp -r "$srcdir"/root/ "$pkgdir"/usr/ +} \ No newline at end of file