diff options
author | ase1590 | 2017-01-08 01:38:42 -0600 |
---|---|---|
committer | ase1590 | 2017-01-08 01:38:42 -0600 |
commit | 2aed389badd3a8b63650b1f5feb5147412c10f33 (patch) | |
tree | 726dc2c927011c5ac8dc2bdd6c458f0591c3f345 | |
download | aur-2aed389badd3a8b63650b1f5feb5147412c10f33.tar.gz |
added both files, used makepkg --printsrcinfo > .SRCINFO to generate .SRCINFO
-rw-r--r-- | .SRCINFO | 31 | ||||
-rw-r--r-- | PKGBUILD | 45 |
2 files changed, 76 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..e43e26fd8fcb --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,31 @@ +pkgbase = wxpython-phoenix-git + pkgdesc = Python 3 implementation of the WxPython UI library + pkgver = r2748.gcd8da03c + pkgrel = 1 + url = https://github.com/wxWidgets/Phoenix + arch = x86_64 + arch = i686 + license = custom:wxWindows + makedepends = mesa + makedepends = glu + makedepends = git + makedepends = libpng + makedepends = libjpeg-turbo + makedepends = webkitgtk2 + makedepends = libtiff + makedepends = sdl + makedepends = gstreamer0.10-base-plugins + makedepends = libnotify + makedepends = freeglut + makedepends = gtk2 + depends = python + depends = wxgtk + provides = wxpython-phoenix + conflicts = wxpython-phoenix-bin + source = wxpython-phoenix-git::git+https://github.com/wxWidgets/Phoenix + source = git+https://github.com/wxWidgets/wxWidgets.git + md5sums = SKIP + md5sums = SKIP + +pkgname = wxpython-phoenix-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..a4569714d0ff --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,45 @@ +# Maintainer: Allen M. <ase1590@hotmail.com> + +pkgname=wxpython-phoenix-git +pkgver=r2748.gcd8da03c +pkgrel=1 +pkgdesc="Python 3 implementation of the WxPython UI library" +arch=('x86_64' 'i686') +url="https://github.com/wxWidgets/Phoenix" +license=('custom:wxWindows') +depends=('python' 'wxgtk') +makedepends=('mesa' 'glu' 'git' 'libpng' 'libjpeg-turbo' 'webkitgtk2' 'libtiff' 'sdl' 'gstreamer0.10-base-plugins' 'libnotify' 'freeglut' 'gtk2') +source=("$pkgname::git+${url}" + "git+https://github.com/wxWidgets/wxWidgets.git") +md5sums=('SKIP' 'SKIP') +provides=('wxpython-phoenix') +conflicts=('wxpython-phoenix-bin') + +pkgver() { + cd "$srcdir/$pkgname" + printf 'r%s.g%s' "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +prepare(){ + cd "$srcdir/$pkgname" + git submodule init + git config submodule.ext/wxWidgets.url "$srcdir/wxWidgets" + git submodule update +} + +build(){ + cd "$srcdir/$pkgname" + python build.py dox etg --nodoc sip +} + +package(){ + cd "$srcdir/$pkgname" + python setup.py install --root="$pkgdir/" + cd "$pkgdir/usr/bin/" + for file in * + do + mv "$file" "${file%}-phoenix" + done + cd "$srcdir/$pkgname/ext/wxWidgets/docs" + install -D -m644 licence.txt $pkgdir/usr/share/licenses/wxpython-phoenix/license.txt +} |