[arch-commits] Commit in wammu/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Tue Jul 7 18:10:47 UTC 2020
Date: Tuesday, July 7, 2020 @ 18:10:47
Author: felixonmars
Revision: 660022
archrelease: copy trunk to community-staging-any
Added:
wammu/repos/community-staging-any/
wammu/repos/community-staging-any/PKGBUILD
(from rev 660020, wammu/trunk/PKGBUILD)
----------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Copied: wammu/repos/community-staging-any/PKGBUILD (from rev 660020, wammu/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-07-07 18:10:47 UTC (rev 660022)
@@ -0,0 +1,32 @@
+# Maintainer: Jaroslav Lichtblau <svetlemodry at archlinux.org>
+# Contributor: Ray Rashif <schiv at archlinux.org>
+# Contributor: Corrado 'bardo' Primier <corrado.primier at mail.polimi.it>
+# Contributor: cs-cam <me.at.camdaniel.com>
+
+pkgname=wammu
+pkgver=0.44
+pkgrel=3
+pkgdesc="A wxPython-based GUI for Gammu"
+arch=('any')
+url="https://wammu.eu/"
+license=('GPL')
+depends=('python2-gammu' 'wxpython' 'python2-six')
+makedepends=('python2-setuptools')
+optdepends=('gnome-bluetooth: Bluetooth support'
+ 'python2-pybluez: Bluetooth support')
+source=(https://dl.cihar.com/$pkgname/v0/$pkgname-$pkgver.tar.xz)
+sha256sums=('bf8199f888cb60e4a24839e71ec6f8e8deb11fd22f592fe1112e3252bd4b9145')
+
+
+prepare() {
+ cd "$pkgname-$pkgver"
+
+ # python2 fix
+ sed -i 's_/usr/bin/env python_/usr/bin/env python2_' setup.py
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+
+ python2 setup.py install --root="${pkgdir}" --optimize=1
+}
More information about the arch-commits
mailing list