hello,
i try to make create a PKGBUILD for archlinux.
python-whiteboard actualy work on my 2 computers (32 and 64 bit), but i want to propose my PKGBUILD on aur for every arch user.
Maintainer: Your Name youremail@domain.com
pkgname=python-whiteboard
pkgver=1.0.2
pkgrel=1
epoch=
pkgdesc="Build and operate an electronic whiteboard using gnu/linux, a wiimote and an IR pen.."
arch=(i686 x86_64)
url="http://github.com/pnegre/python-whiteboard"
license=('GPL2')
groups=()
depends=("python2" "python2-numpy" "python2-pyqt" "python-xlib" "python-pybluez")
makedepends=()
checkdepends=()
optdepends=()
provides=('python-whiteboard')
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=(http://mathsecaillou.ile.nc/data/documents/$pkgname-$pkgver.tar.gz)
noextract=()
md5sums=(177d570d56eede5123a6f02b22c06375)
build() {
cd "$srcdir/$pkgname-$pkgver"
make all
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
}
This PKGBUILD work but i have issues with the "source" item:
i don't know how to use guit to download directely the source.
archlinux use python3 by default so i have to modify the source to put #!/usr/bin/python2 instead of #!/usr/bin/python
I see that you have this request already by a gentoo user, but if you can propose a a tar.gz download, it would be very useful for non debian user. If you follow my source link, you will find one (python2 modification + debian folder erase). Maybe an other solution could be a fork, but it's your baby and i m not a developper just an user.
hello, i try to make create a PKGBUILD for archlinux. python-whiteboard actualy work on my 2 computers (32 and 64 bit), but i want to propose my PKGBUILD on aur for every arch user.
Maintainer: Your Name youremail@domain.com
pkgname=python-whiteboard pkgver=1.0.2 pkgrel=1 epoch= pkgdesc="Build and operate an electronic whiteboard using gnu/linux, a wiimote and an IR pen.." arch=(i686 x86_64) url="http://github.com/pnegre/python-whiteboard" license=('GPL2') groups=() depends=("python2" "python2-numpy" "python2-pyqt" "python-xlib" "python-pybluez") makedepends=() checkdepends=() optdepends=() provides=('python-whiteboard') conflicts=() replaces=() backup=() options=() install= changelog= source=(http://mathsecaillou.ile.nc/data/documents/$pkgname-$pkgver.tar.gz) noextract=() md5sums=(177d570d56eede5123a6f02b22c06375)
build() { cd "$srcdir/$pkgname-$pkgver" make all }
package() { cd "$srcdir/$pkgname-$pkgver" make DESTDIR="$pkgdir/" install }
This PKGBUILD work but i have issues with the "source" item:
I see that you have this request already by a gentoo user, but if you can propose a a tar.gz download, it would be very useful for non debian user. If you follow my source link, you will find one (python2 modification + debian folder erase). Maybe an other solution could be a fork, but it's your baby and i m not a developper just an user.
Thanks for your great work jb