aboutsummaryrefslogtreecommitdiffstats
path: root/dist/archlinux/stable/PKGBUILD
blob: 5ce21425171c4c8bbb2ca81ae87dccceb2b3a73b (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
24
# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org>

pkgname=argparser
pkgver=5.0
pkgrel=1
pkgdesc="Command line argument parser library, like getopt, except better."
arch=('any')
url="https://github.com/maandree/argparser"
license=('AGPL3')
makedepends=('coreutils' 'sed' 'java-environment' 'gcc' 'texinfo')
source=("${url}/archive/${pkgver}.tar.gz")
sha256sums=('0045788f08f1150598937f26081b60b953d254cdd915adbf75c0b26c36896505')


build() {
	cd "${srcdir}/argparser-${pkgver}"
	make DESTDIR="$pkgdir" PY3VERSION=3.3
}

package() {
	cd "${srcdir}/argparser-${pkgver}"
	make DESTDIR="$pkgdir" PY3VERSION=3.3 install
}