From 51c6dd38a52ec45f8e4e2588cdbb2483317a1f55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Schlichting?= Date: Mon, 16 Mar 2015 13:49:19 +0100 Subject: [PATCH] initial maintained aur-packages --- .SRCINFO | 15 +++++++++++++++ PKGBUILD | 26 ++++++++++++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 .SRCINFO create mode 100644 PKGBUILD diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..67a82c5e3afd --- /dev/null +++ b/.SRCINFO @@ -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 + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..713f932b96c3 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: André +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 +}