From 6df4b788d161fe2ff253efe458f33ae182ab9155 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Thu, 1 Aug 2013 16:06:56 +0200 Subject: add pkgbuild MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- dist/archlinux/stable/.gitignore | 2 ++ dist/archlinux/stable/PKGBUILD | 23 +++++++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 dist/archlinux/stable/.gitignore create mode 100644 dist/archlinux/stable/PKGBUILD (limited to 'dist/archlinux/stable') diff --git a/dist/archlinux/stable/.gitignore b/dist/archlinux/stable/.gitignore new file mode 100644 index 0000000..84f46ee --- /dev/null +++ b/dist/archlinux/stable/.gitignore @@ -0,0 +1,2 @@ +* +!PKGBUILD diff --git a/dist/archlinux/stable/PKGBUILD b/dist/archlinux/stable/PKGBUILD new file mode 100644 index 0000000..3ee849d --- /dev/null +++ b/dist/archlinux/stable/PKGBUILD @@ -0,0 +1,23 @@ +# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org> +pkgname=argparser +pkgver=1.0 +pkgrel=1 +pkgdesc="Command line argument parser library, like getopt, except better." +arch=('any') +url="https://github.com/maandree/argparser" +license=('GPL3') +makedepends=('coreutils' 'sed' 'java-environment' 'gcc' 'texinfo') +source=("${url}/archive/${pkgver}.tar.gz") +sha256sums=('09d9ad43b37779ad2deb61fa762e8874ada644352fa5b038bd64521e54870e11') + + +build() { + cd "${srcdir}/argparser-${pkgver}" + make DESTDIR="$pkgdir" PY3VERSION=3.3 +} + +package() { + cd "${srcdir}/argparser-${pkgver}" + make DESTDIR="$pkgdir" PY3VERSION=3.3 install +} + -- cgit v1.2.3-70-g09d2