Date: Monday, February 8, 2016 @ 00:56:43 Author: foutrelis Revision: 160569
archrelease: copy trunk to community-staging-any Added: obmenu/repos/community-staging-any/ obmenu/repos/community-staging-any/PKGBUILD (from rev 160568, obmenu/trunk/PKGBUILD) ----------+ PKGBUILD | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) Copied: obmenu/repos/community-staging-any/PKGBUILD (from rev 160568, obmenu/trunk/PKGBUILD) =================================================================== --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2016-02-07 23:56:43 UTC (rev 160569) @@ -0,0 +1,24 @@ +# $Id$ +# Maintainer: Lukas Fleischer <lfleisc...@archlinux.org> +# Contributor: Hugo Doria <hugodo...@gmail.com> +# Contributor: priyank <priyan...@gmail.com> +# Contributor: Daniel J Griffiths <ghost1...@archlinux.us> + +pkgname=obmenu +pkgver=1.0 +pkgrel=11 +pkgdesc='Openbox menu editor.' +arch=('any') +url='http://obmenu.sourceforge.net/' +license=('GPL') +depends=('python2' 'pygtk' 'openbox') +source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz") +md5sums=('710036a5edc9886d6d563ce46c747432') + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + + sed -i -e 's#usr/bin/python#usr/bin/python2#g' *.py + python2 setup.py install --root="${pkgdir}" --optimize=1 +} +