summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 43c75449fb372e97a86fbd84579358aaf8dfa616 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Maintainer: dreieck
# Contributor: Gasparotto Mattia <gasmat04@gmail.com>

pkgname=wammu
pkgver=0.44
pkgrel=5
pkgdesc="A wxPython-based GUI for Gammu"
arch=('any')
url="https://wammu.eu/wammu/"
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"
  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
}