Remove redundant makedepends, define pkgbase for clarity

This commit is contained in:
Paul Adams 2015-03-03 14:36:09 +00:00
parent 4e7c66e5d8
commit 57b4233d3b

View file

@ -2,6 +2,7 @@
buildarch=20
pkgbase='wiringx-git'
pkgname=('wiringx-git' 'python-wiringx-git' 'python2-wiringx-git')
pkgver=r87.6ae11ce
pkgrel=1
@ -9,7 +10,7 @@ pkgdesc="wiringX is a modular GPIO interface, derived from wiringPi"
arch=('arm')
url="http://wiringx.org"
license=('GPL')
makedepends=('git' 'cmake' 'sed' 'python' 'python-setuptools' 'python2' 'python2-setuptools')
makedepends=('git' 'cmake' 'sed' 'python-setuptools' 'python2-setuptools')
source=(${pkgname}::git+https://github.com/wiringX/wiringX)
md5sums=('SKIP')
@ -32,7 +33,6 @@ package_wiringx-git() {
package_python-wiringx-git() {
depends=('python' 'wiringx-git')
makedepends=('python-setuptools')
pkgdesc="Python bindings for wiringX"
cd "${pkgbase}/python"
python setup.py install --root="$pkgdir/" --optimize=1
@ -40,7 +40,6 @@ package_python-wiringx-git() {
package_python2-wiringx-git() {
depends=('python2' 'wiringx-git')
makedepends=('python2-setuptools')
pkgdesc="Python2 bindings for wiringX"
cd "${pkgbase}/python"
python2 setup.py install --root="$pkgdir/" --optimize=1