mirror of
https://github.com/archlinux/aur.git
synced 2026-03-07 18:19:31 +01:00
initial maintained aur-packages
This commit is contained in:
commit
51c6dd38a5
2 changed files with 41 additions and 0 deletions
15
.SRCINFO
Normal file
15
.SRCINFO
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
pkgbase = python2-fitparse-git
|
||||
pkgdesc = Garmin FIT file parser implementation
|
||||
pkgver = r43.462598c
|
||||
pkgrel = 1
|
||||
url = https://github.com/dtcooper/python-fitparse
|
||||
arch = i686
|
||||
arch = x86_64
|
||||
license = Python
|
||||
license = custom:python2-fitparse
|
||||
depends = python2
|
||||
source = git+https://github.com/dtcooper/python-fitparse.git
|
||||
md5sums = SKIP
|
||||
|
||||
pkgname = python2-fitparse-git
|
||||
|
||||
26
PKGBUILD
Normal file
26
PKGBUILD
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
# Maintainer: André <andre-arch@delorus.de>
|
||||
pkgname=python2-fitparse-git
|
||||
_gitname=python-fitparse
|
||||
pkgver=r43.462598c
|
||||
pkgrel=1
|
||||
pkgdesc="Garmin FIT file parser implementation"
|
||||
arch=('i686' 'x86_64')
|
||||
source=(git+https://github.com/dtcooper/python-fitparse.git)
|
||||
url="https://github.com/dtcooper/python-fitparse"
|
||||
license=('Python' "custom:python2-fitparse")
|
||||
depends=('python2')
|
||||
md5sums=('SKIP')
|
||||
|
||||
pkgver() {
|
||||
cd "${_gitname}"
|
||||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/$_gitname"
|
||||
|
||||
install -dm755 ${pkgdir}/usr/lib/python2.7/site-packages/fitparse
|
||||
cp fitparse/* ${pkgdir}/usr/lib/python2.7/site-packages/fitparse
|
||||
|
||||
install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/python2-fitparse/LICENSE
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue