# Maintainer: Eray Aydın pkgname=xgraphic pkgver=0.1.5 pkgrel=1 pkgdesc="Switch between nvidia and bumblebee" arch=('any') url="https://github.com/erayaydin/xgraphic" license=('MIT') depends=('python') makedepends=('python-distribute') install=${pkgname}.install source=("https://github.com/erayaydin/xgraphic/archive/v${pkgver}.tar.gz") sha256sums=('59b9a452fd199a05aec6442876adab3ac60ec5e21e41294559220ef73ee2d866') package() { cd "$srcdir/$pkgname-$pkgver/" msg "Copying license..." install -D -m 644 LICENSE.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE msg "Running setup.py" python setup.py install --root=${pkgdir} --prefix=/usr }