aur updates

This commit is contained in:
Kevin Mihelich 2014-02-25 15:28:45 +00:00
parent e2972ba06f
commit b934d31a2d
2 changed files with 17 additions and 13 deletions

View file

@ -3,19 +3,19 @@
_pkgname=pithos _pkgname=pithos
pkgname=$_pkgname-git pkgname=$_pkgname-git
pkgver=357 pkgver=379
pkgrel=1 pkgrel=1
epoch=1 epoch=1
pkgdesc='Pandora Internet Radio player for GNOME' pkgdesc='Pandora Internet Radio player for GNOME'
arch=('any') arch=('any')
url="http://pithos.github.io/" url="http://pithos.github.io/"
license=('GPL3') license=('GPL3')
depends=('python2' 'gtk3' 'python2-gobject' 'python2-dbus' 'gst-plugins-good' 'gst-plugins-bad' 'gst-plugins-base' 'python2-pylast' 'libnotify') depends=('python' 'gtk3' 'python-gobject' 'python-dbus' 'gst-plugins-good' 'gst-plugins-bad' 'gst-plugins-base' 'python-pylast' 'libnotify')
makedepends=('git' 'python2-setuptools') makedepends=('git' 'python-setuptools')
optdepends=('libkeybinder3: for media keys plugin' optdepends=('libkeybinder3: for media keys plugin'
'gst-plugins-ugly: MP3 playback support' 'gst-plugins-ugly: MP3 playback support'
'libappindicator3: Unity indicator applet support' 'libappindicator3: Unity indicator applet support'
'python2-pacparser: PAC proxy support') 'python-pacparser: PAC proxy support')
provides=("$_pkgname") provides=("$_pkgname")
conflicts=("$_pkgname-bzr" "$_pkgname") conflicts=("$_pkgname-bzr" "$_pkgname")
install="$pkgname.install" install="$pkgname.install"
@ -29,12 +29,11 @@ pkgver() {
prepare() { prepare() {
cd "$srcdir/$_pkgname" cd "$srcdir/$_pkgname"
sed -e '1s|^#!/usr/bin/env python$|#!/usr/bin/python2|' -i pithos/pithos.py
} }
package() { package() {
cd "$srcdir/$_pkgname" cd "$srcdir/$_pkgname"
python2 setup.py install --optimize=1 --prefix=/usr --root="${pkgdir}" python setup.py install --optimize=1 --prefix=/usr --root="${pkgdir}"
} }
md5sums=('c9db50a1fd3d86efe4d6f8a7b044e718' md5sums=('c9db50a1fd3d86efe4d6f8a7b044e718'

View file

@ -4,25 +4,30 @@
pkgname=python2-certifi pkgname=python2-certifi
_libname=${pkgname/python2-/} _libname=${pkgname/python2-/}
pkgver=0.0.8 pkgver=1.0.0
pkgrel=2 pkgrel=1
pkgdesc="Mozilla's SSL Certs" pkgdesc="Mozilla's SSL Certs"
arch=(any) arch=(any)
url="http://pypi.python.org/pypi/certifi/${pkgver}" url="http://pypi.python.org/pypi/certifi"
license=('GPL') license=('GPL')
depends=('python2') depends=('python2')
makedepends=('python2-distribute') makedepends=('python2-setuptools')
source=(http://pypi.python.org/packages/source/${_libname:0:1}/$_libname/$_libname-$pkgver.tar.gz) source=(http://pypi.python.org/packages/source/${_libname:0:1}/$_libname/$_libname-$pkgver.tar.gz)
build() { prepare() {
cd "$srcdir/$_libname-$pkgver" cd "$srcdir/$_libname-$pkgver"
sed -i '1 s|python$|python2|' certifi/core.py sed -i '1 s|python$|python2|' certifi/core.py
} }
build() {
cd "$srcdir/$_libname-$pkgver"
python2 setup.py build
}
package() { package() {
cd "$srcdir/$_libname-$pkgver" cd "$srcdir/$_libname-$pkgver"
python2 setup.py install --root="$pkgdir" -O1 python2 setup.py install --skip-build -O1 --root="$pkgdir"
install -m0644 -D "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" install -m0644 -D "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
} }
sha256sums=('46ecf5f7526a08cc1f8bc8232adf0cffce046f46ceff95539daec42ebc4849ef') sha256sums=('d4f8e89c9e709f67221bf21231d0fa66a00d3712bcb69d4b5aef3705339c8dcd')