aboutsummaryrefslogtreecommitdiffstats
path: root/dist/archlinux/stable/PKGBUILD
blob: 9a8f02f4927abc0374ac2806153886ff488650c9 (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=('AGPL3')
makedepends=('coreutils' 'sed' 'java-environment' 'gcc' 'texinfo')
source=("${url}/archive/${pkgver}.tar.gz")
sha256sums=('38f63dc44c79032461fc8b9af46d81f424e3633ec110eed1eb0e00377b2c2be8')


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

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