summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
Diffstat (limited to 'pcr')
-rw-r--r--pcr/glance/PKGBUILD34
1 files changed, 0 insertions, 34 deletions
diff --git a/pcr/glance/PKGBUILD b/pcr/glance/PKGBUILD
deleted file mode 100644
index 846d17f1d..000000000
--- a/pcr/glance/PKGBUILD
+++ /dev/null
@@ -1,34 +0,0 @@
-# Contributor: Limao Luo <luolimao+AUR@gmail.com>
-# Contributor: Josh Chase <jcjoshuachase@gmail.com>
-# Maintainer : Parabola GNU / Linux-libre Aurélien DESBRIÈRES <aurelien@hackers.camp>
-
-pkgname=glance
-_relname=icehouse
-pkgver=2014.1.b2
-pkgrel=1
-pkgdesc="OpenStack image registry and delivery service"
-arch=(any)
-url=https://launchpad.net/glance
-license=(custom)
-depends=(python2-jsonpointer python2-glanceclient python2-keystoneclient
- python2-pyopenssl python2-warlock)
-makedepends=(python2-setuptools)
-source=($url/$_relname/$_relname-2/+download/$pkgname-$pkgver.tar.gz)
-
-prepare() {
- find $pkgname-$pkgver -type f -exec sed -ri 's:^#!/usr/bin/(env )?python$:&2:' '{}' \;
-}
-
-build() {
- cd $pkgname-$pkgver/
- python2 setup.py build
-}
-
-package() {
- cd $pkgname-$pkgver/
- python2 setup.py install --root="$pkgdir" --optimize=1
-
- install -d "$pkgdir"/etc/
- cp -r etc/ "$pkgdir"/etc/$pkgname/
- install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}