diff options
-rw-r--r-- | dist/archlinux/stable/.gitignore | 2 | ||||
-rw-r--r-- | dist/archlinux/stable/PKGBUILD | 23 |
2 files changed, 25 insertions, 0 deletions
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 +} + |