Date: Monday, April 27, 2015 @ 14:18:08
  Author: spupykin
Revision: 132321

upgpkg: devede 4.0-1

upd

Modified:
  devede/trunk/PKGBUILD

----------+
 PKGBUILD |   26 +++++++-------------------
 1 file changed, 7 insertions(+), 19 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2015-04-27 11:02:06 UTC (rev 132320)
+++ PKGBUILD    2015-04-27 12:18:08 UTC (rev 132321)
@@ -5,30 +5,18 @@
 # Maintainer: Daniel J Griffiths <ghost1...@archlinux.us>
 
 pkgname=devede
-pkgver=3.23.0
-pkgrel=2
+pkgver=4.0
+pkgrel=1
 pkgdesc="A program to create VideoDVDs and CDs"
 arch=('any')
 url="http://www.rastersoft.com/programas/devede.html";
 license=('GPL3')
 depends=('mplayer' 'mencoder' 'ffmpeg' 'dvdauthor' 'vcdimager'
-        'cdrkit' 'pygtk' 'ttf-dejavu' 'dbus-python')
-source=(http://www.rastersoft.com/descargas/${pkgname}-${pkgver}.tar.bz2)
-md5sums=('c6c012630bb2492b1c9146c727681963')
+        'cdrkit' 'pygtk' 'ttf-dejavu' 'python-dbus')
+source=($pkgname-$pkgver.tar.gz::https://github.com/rastersoft/devedeng/archive/$pkgver.tar.gz)
+md5sums=('87999907e935f16d029387fbc8743a75')
 
-build() {
-  cd ${srcdir}/${pkgname}-$pkgver
-  # python2 fix
-  for file in devede *.py; do
-    sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' $file
-  done
-}
-
 package() {
-  cd ${srcdir}/${pkgname}-$pkgver
-  ./install.sh --DESTDIR=${pkgdir} \
-       --prefix=/usr \
-       --unistall=no \
-       --targeted=yes
-  install -D -m644 ${pkgname}.desktop 
${pkgdir}/usr/share/applications/${pkgname}.desktop
+  cd ${srcdir}/${pkgname}ng-$pkgver
+  python setup.py install --root=${pkgdir}
 }

Reply via email to