diff options
author | Drtan Samos <lashdu@drtan.twilightparadox.com> | 2014-02-23 19:00:07 +0100 |
---|---|---|
committer | Drtan Samos <lashdu@drtan.twilightparadox.com> | 2014-02-23 19:00:07 +0100 |
commit | c850156e865805296b73eee01caa4b4469191437 (patch) | |
tree | f329f22409f214d83d5593f6d681d319f285964f /pcr | |
parent | 0160afcf1bc15d7815c51a64e9f91e000a22de63 (diff) | |
parent | 65d5f7650f067bb6ac79e7f0070341b6896706e5 (diff) | |
download | abslibre-c850156e865805296b73eee01caa4b4469191437.tar.gz abslibre-c850156e865805296b73eee01caa4b4469191437.tar.bz2 abslibre-c850156e865805296b73eee01caa4b4469191437.zip |
Merge branch 'master' of git://projects.parabolagnulinux.org/abslibre
Diffstat (limited to 'pcr')
-rw-r--r-- | pcr/printrun-stable/PKGBUILD | 42 | ||||
-rw-r--r-- | pcr/printrun/PKGBUILD | 38 |
2 files changed, 80 insertions, 0 deletions
diff --git a/pcr/printrun-stable/PKGBUILD b/pcr/printrun-stable/PKGBUILD new file mode 100644 index 000000000..f8f2bd4df --- /dev/null +++ b/pcr/printrun-stable/PKGBUILD @@ -0,0 +1,42 @@ +# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net> + +_pkgname=printrun +pkgname=printrun-stable +pkgver=20130604 +pkgdesc="Host software for 3D printing" +url="https://github.com/kliment/Printrun" +license=('GPL3') # GPLv3+ + +provides=("${_pkgname}-${pkgver}") +conflicts=("${_pkgname}") + +pkgrel=1 +arch=('any') +depends=('python2-pyserial' 'python2-pyglet' 'wxpython') +optdepends=( + 'python2-numpy: for 3D view' + 'python2-cairo: for Projector feature' +# 'python2-tornado: for prontserve' +) + +source=("https://repo.parabolagnulinux.org/other/$_pkgname/$_pkgname-$pkgver.tar.gz") +md5sums=('bc19f5b4570e178d435da04747c18e42') + +mkdepends=('git') +mksource=("$_pkgname-$pkgver::git://github.com/kliment/Printrun.git#tag=$_pkgname-$pkgver") +mkmd5sums=('SKIP') + +build() { + cd "${srcdir}/${_pkgname}-${pkgver}" + python2 setup.py build +} + +package() { + cd "${srcdir}/${_pkgname}-${pkgver}" + python2 setup.py install --root="${pkgdir}" --prefix=/usr + + local file + for file in "$pkgdir"/usr/bin/*.py; do + mv "$file" "${file%.py}" + done +} diff --git a/pcr/printrun/PKGBUILD b/pcr/printrun/PKGBUILD new file mode 100644 index 000000000..4d4788911 --- /dev/null +++ b/pcr/printrun/PKGBUILD @@ -0,0 +1,38 @@ +# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net> + +pkgname=printrun +pkgver=20140126 +pkgdesc="Host software for 3D printing" +url="https://github.com/kliment/Printrun" +license=('GPL3') # GPLv3+ + +pkgrel=1 +arch=('any') +depends=('python2-pyserial' 'python2-pyglet' 'wxpython') +optdepends=( + 'python2-numpy: for 3D view' + 'python2-cairo: for Projector feature' +# 'python2-tornado: for prontserve' +) + +source=("https://repo.parabolagnulinux.org/other/$pkgname/$pkgname-$pkgver.tar.gz") +md5sums=('d8b04115306d7b6b07d712af15383db7') + +mkdepends=('git') +mksource=("$pkgname-$pkgver::git://github.com/kliment/Printrun.git#tag=$pkgname-$pkgver") +mkmd5sums=('SKIP') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + python2 setup.py build +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + python2 setup.py install --root="${pkgdir}" --prefix=/usr + + local file + for file in "$pkgdir"/usr/bin/*.py; do + mv "$file" "${file%.py}" + done +} |