From bedbda01eaa67925d6c46a9b36256404bf106456 Mon Sep 17 00:00:00 2001 From: "coadde [Márcio Alexandre Silva Delgado]" Date: Thu, 4 Sep 2014 21:38:48 -0300 Subject: calibre: fix pkgname --- libre/calibre/PKGBUILD | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'libre/calibre') diff --git a/libre/calibre/PKGBUILD b/libre/calibre/PKGBUILD index 038ddb174..3eaa8481b 100644 --- a/libre/calibre/PKGBUILD +++ b/libre/calibre/PKGBUILD @@ -22,7 +22,7 @@ depends=('python2-six' 'python2-dateutil' 'python2-cssutils' 'python2-cherrypy' 'python2-pyqt5' 'python2-psutil' 'icu' 'libmtp' 'python2-netifaces' 'python2-cssselect' 'python2-apsw' 'qt5-webkit' 'qt5-svg' 'python2-chardet' 'python2-html5lib') -makedepends=('python2-pycountry' 'qt5-x11extras' ) +makedepends=('python2-pycountry' 'qt5-x11extras') optdepends=("ipython2: to use $pkgname-debug") replaces=($_pkgname) conflicts=($_pkgname) @@ -35,14 +35,14 @@ md5sums=('9c7c1c246d558a08c9a1f064ba7681f5' '343162b9d1c97c0463d4919a8b9ac500') mksource(){ - cd "${srcdir}/${pkgname}-${pkgver}" + cd "${srcdir}/${pkgname^}-${pkgver}" # Remove nonfree unRAR utility files from the source rm -rv src/unrar } prepare(){ - cd "${srcdir}/${_pkgname}-${pkgver}" + cd "${srcdir}/${pkgname}-${pkgver}" # Remove nonfree rar/cbr support and references rm -v src/$pkgname/{ebooks/metadata/rar.py,utils/unrar.{cpp,py}} @@ -81,7 +81,7 @@ prepare(){ } build() { - cd "${srcdir}/${_pkgname}-${pkgver}" + cd "${srcdir}/${pkgname}-${pkgver}" LANG='en_US.UTF-8' python2 setup.py build # LANG='en_US.UTF-8' python2 setup.py resources @@ -91,7 +91,7 @@ build() { } package() { - cd "${srcdir}/${_pkgname}-${pkgver}" + cd "${srcdir}/${pkgname}-${pkgver}" # Fix the environment module location sed -i -e "s|(prefix=.*)|(prefix='$pkgdir/usr')|g" setup/install.py -- cgit v1.2.3