diff options
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 25 |
3 files changed, 46 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..f52751189ed4 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = obi + pkgdesc = A command-line tool for developing g-speaky applications + pkgver = 3.4.2 + pkgrel = 1 + url = https://github.com/Oblong/obi + arch = any + license = MIT + depends = python2 + depends = python2-docopt + depends = python2-jinja + depends = python2-setuptools + depends = python2-yaml + source = https://github.com/Oblong/obi/archive/v3.4.2.tar.gz + md5sums = cd8a680744bb8d573c0c76aa5cffdb0b + +pkgname = obi + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..f71c635dafda --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +* +!.gitignore +!PKGBUILD +!.SRCINFO diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..b3aef5dae20f --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,25 @@ +# Maintainer: Tom Jakubowski <tom@crystae.net> + +pkgname=obi +pkgver=3.4.2 +pkgrel=1 +pkgdesc="A command-line tool for developing g-speaky applications" +arch=('any') +url="https://github.com/Oblong/obi" +license=('MIT') +depends=('python2' 'python2-docopt' 'python2-jinja' 'python2-setuptools' 'python2-yaml') +source=(https://github.com/Oblong/obi/archive/v${pkgver}.tar.gz) +md5sums=('cd8a680744bb8d573c0c76aa5cffdb0b') + +prepare() { + cd "${pkgname}-${pkgver}" + # work around overly tight install_requires + sed -i 's/fabric==1\.10\.3/fabric>=1.10.3,<2/' setup.py + sed -i 's/jinja2==2\.8/jinja2>=2.8,<3/' setup.py + sed -i 's/pyyaml==3\.11/pyyaml>=3.11,<4/' setup.py +} +package() { + cd "${pkgname}-${pkgver}" + python2 setup.py install --root="${pkgdir}/" + install -Dm644 LICENSE.md "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} |