aboutsummaryrefslogtreecommitdiffstats
path: root/dist/archlinux/stable/PKGBUILD
blob: 3ee849db544a9bbf194ddee50eb75fdb53742764 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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
}