[arch-commits] Commit in mopidy/trunk (PKGBUILD)

Sven-Hendrik Haase svenstaro at archlinux.org
Wed Apr 8 16:30:36 UTC 2015


    Date: Wednesday, April 8, 2015 @ 18:30:36
  Author: svenstaro
Revision: 130931

upgpkg: mopidy 1.0.0-1

Pushing mopidy

Modified:
  mopidy/trunk/PKGBUILD

----------+
 PKGBUILD |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-04-08 16:24:41 UTC (rev 130930)
+++ PKGBUILD	2015-04-08 16:30:36 UTC (rev 130931)
@@ -23,13 +23,13 @@
 makedepends=('python2-sphinx')
 backup=('etc/mopidy/mopidy.conf')
 install=$pkgname.install
-source=("https://pypi.python.org/packages/source/M/${_pypiname}/Mopidy-${pkgver}.tar.gz"
+source=("https://github.com/mopidy/mopidy/archive/v${pkgver}.tar.gz"
         'mopidy.install')
-md5sums=('c622d6186d524aa8da6d701ec237b4f9'
-         '06da4720ab1cdfebfa6ff6d921bbda9d')
+md5sums=('f2c01fb8fcd1c0bd509344a9f2f72fc1'
+         'bd513aa0e4e83c117340a55f53215cf2')
 
 build() {
-  cd "${srcdir}/${_pypiname}-${pkgver}"
+  cd "${srcdir}/${pkgname}-${pkgver}"
 
   make -C docs SPHINXBUILD=sphinx-build2 man
   make -C docs SPHINXBUILD=sphinx-build2 html
@@ -36,7 +36,7 @@
 }
 
 package() {
-  cd "${srcdir}/${_pypiname}-${pkgver}"
+  cd "${srcdir}/${pkgname}-${pkgver}"
   python2 setup.py install --root="${pkgdir}/" --optimize=1
 
   install -dm644 "${pkgdir}/usr/share/man/man1/"
@@ -43,7 +43,7 @@
   gzip -c docs/_build/man/mopidy.1 > "${pkgdir}/usr/share/man/man1/mopidy.1.gz" 
 
   install -Dm640 "mopidy/config/default.conf" "${pkgdir}/etc/mopidy/mopidy.conf"
-  sed -i "s/debug_file.*/debug_file = /var/log/mopidy/mopidy.log" "${pkgdir}/etc/mopidy/mopidy.conf"
+  sed -i "s|debug_file.*|debug_file = /var/log/mopidy/mopidy.log|" "${pkgdir}/etc/mopidy/mopidy.conf"
 
   install -Dm644 "extra/systemd/mopidy.service" "${pkgdir}/usr/lib/systemd/system/mopidy.service"
   install -Dm644 "extra/desktop/mopidy.desktop" "${pkgdir}/usr/share/applications/mopidy.desktop"



More information about the arch-commits mailing list