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

Ray Rashif schiv at nymeria.archlinux.org
Tue Mar 26 15:44:06 UTC 2013


    Date: Tuesday, March 26, 2013 @ 16:44:06
  Author: schiv
Revision: 87063

implement FS#34165

Modified:
  wammu/trunk/PKGBUILD

----------+
 PKGBUILD |   20 +++++++++++++-------
 1 file changed, 13 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-03-26 15:13:02 UTC (rev 87062)
+++ PKGBUILD	2013-03-26 15:44:06 UTC (rev 87063)
@@ -10,17 +10,23 @@
 arch=('any')
 url="http://wammu.eu/"
 license=('GPL')
-depends=('gammu' 'notification-daemon' 'wxpython')
-optdepends=('gnome-bluetooth: bluetooth support'
-	    'python2-pybluez: bluetooth support')
-source=(http://downloads.sourceforge.net/gammu/$pkgname-$pkgver.tar.bz2)
+depends=('gammu' 'wxpython')
+optdepends=('gnome-bluetooth: Bluetooth support'
+            'python2-pybluez: Bluetooth support'
+			'notification-daemon: Notifications support')
+source=("http://downloads.sourceforge.net/gammu/$pkgname-$pkgver.tar.bz2")
 md5sums=('065186e6d08bffd7f95ae000046904cb')
 
-package() {
-  cd "$srcdir/$pkgname-$pkgver"
 
+build() {
+  cd "$pkgname-$pkgver"
+
   # python2 fix
   sed -i 's_/usr/bin/env python_/usr/bin/env python2_' setup.py
+}
 
-  ./setup.py install --root="$pkgdir" --optimize=1
+package() {
+  cd "$pkgname-$pkgver"
+
+  python2 setup.py install --root="$pkgdir" --optimize=1
 }




More information about the arch-commits mailing list