mirror of
https://github.com/archlinux/aur.git
synced 2026-02-14 04:10:20 +01:00
Add openni2 with pkg-config file + metapod + cpplog + updates
This commit is contained in:
parent
2112bbe29a
commit
46da3e3672
2 changed files with 20 additions and 9 deletions
8
.SRCINFO
8
.SRCINFO
|
|
@ -1,6 +1,6 @@
|
|||
pkgbase = python2-mpldatacursor-git
|
||||
pkgdesc = Interactive data cursors (clickable annotation boxes) for matplotlib.
|
||||
pkgver = 20140121
|
||||
pkgver = 0.4.0.r26.g1738e4b
|
||||
pkgrel = 1
|
||||
url = https://github.com/joferkington/mpldatacursor
|
||||
arch = i686
|
||||
|
|
@ -8,8 +8,10 @@ pkgbase = python2-mpldatacursor-git
|
|||
license = MIT
|
||||
depends = python2-matplotlib>=0.9
|
||||
depends = python2-numpy>=1.1
|
||||
source = python2-mpldatacursor-git::git://github.com/joferkington/mpldatacursor.git
|
||||
sha1sums = SKIP
|
||||
provides = python2-mpldatacursor
|
||||
conflicts = python2-mpldatacursor
|
||||
source = mpldatacursor::git+https://github.com/joferkington/mpldatacursor.git#branch=master
|
||||
md5sums = SKIP
|
||||
|
||||
pkgname = python2-mpldatacursor-git
|
||||
|
||||
|
|
|
|||
21
PKGBUILD
21
PKGBUILD
|
|
@ -2,26 +2,35 @@
|
|||
# Maintainer: Benjamin Chretien <chretien at lirmm dot fr>
|
||||
|
||||
pkgname=python2-mpldatacursor-git
|
||||
pkgver=20140121
|
||||
pkgver=0.4.0.r26.g1738e4b
|
||||
pkgrel=1
|
||||
pkgdesc="Interactive data cursors (clickable annotation boxes) for matplotlib."
|
||||
arch=('i686' 'x86_64')
|
||||
url='https://github.com/joferkington/mpldatacursor'
|
||||
license=('MIT')
|
||||
depends=('python2-matplotlib>=0.9' 'python2-numpy>=1.1')
|
||||
source=("$pkgname"::'git://github.com/joferkington/mpldatacursor.git')
|
||||
sha1sums=('SKIP')
|
||||
provides=('python2-mpldatacursor')
|
||||
conflicts=('python2-mpldatacursor')
|
||||
|
||||
_gitroot=https://github.com/joferkington
|
||||
_gitrepo=mpldatacursor
|
||||
|
||||
_branch=master
|
||||
_dir=${_gitrepo}
|
||||
source=("${_dir}"::"git+${_gitroot}/${_gitrepo}.git"#branch=${_branch})
|
||||
md5sums=('SKIP')
|
||||
|
||||
pkgver() {
|
||||
date +%Y%m%d
|
||||
cd "$srcdir/${_dir}"
|
||||
git describe --long | sed -E 's/^v//;s/([^-]*-g)/r\1/;s/-/./g'
|
||||
}
|
||||
|
||||
build() {
|
||||
cd ${srcdir}/${pkgname}
|
||||
cd ${srcdir}/${_dir}
|
||||
python2 setup.py build
|
||||
}
|
||||
|
||||
package() {
|
||||
cd ${srcdir}/${pkgname}
|
||||
cd ${srcdir}/${_dir}
|
||||
python2 setup.py install -O1 --skip-build --root "${pkgdir}" --prefix=/usr
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue