diff options
Diffstat (limited to 'dist')
-rw-r--r-- | dist/archlinux/stable/.gitignore | 3 | ||||
-rw-r--r-- | dist/archlinux/stable/PKGBUILD | 25 | ||||
-rw-r--r-- | dist/archlinux/stable/argparser.install | 20 |
3 files changed, 0 insertions, 48 deletions
diff --git a/dist/archlinux/stable/.gitignore b/dist/archlinux/stable/.gitignore deleted file mode 100644 index 7d3c87f..0000000 --- a/dist/archlinux/stable/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -* -!PKGBUILD -!argparser.install diff --git a/dist/archlinux/stable/PKGBUILD b/dist/archlinux/stable/PKGBUILD deleted file mode 100644 index 766f4df..0000000 --- a/dist/archlinux/stable/PKGBUILD +++ /dev/null @@ -1,25 +0,0 @@ -# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org> - -pkgname=argparser -pkgver=5.1 -pkgrel=4 -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') -install=argparser.install -source=("${url}/archive/${pkgver}.tar.gz") -sha256sums=('10cbff3d7c17d5c8e99dab20e5b425e1da7625dd4090d6c904c944b8bb64195f') - - -build() { - cd "${srcdir}/argparser-${pkgver}" - make DESTDIR="$pkgdir" PY3VERSION="$(python -V | cut -d ' ' -f 2 | cut -d . -f 1,2)" -} - -package() { - cd "${srcdir}/argparser-${pkgver}" - make DESTDIR="$pkgdir" PY3VERSION="$(python -V | cut -d ' ' -f 2 | cut -d . -f 1,2)" install -} - diff --git a/dist/archlinux/stable/argparser.install b/dist/archlinux/stable/argparser.install deleted file mode 100644 index a6418e3..0000000 --- a/dist/archlinux/stable/argparser.install +++ /dev/null @@ -1,20 +0,0 @@ -_file="argparser" - -infodir="usr/share/info" -file="${_file}.info" - - -post_install() { - [[ -x "usr/bin/install-info" ]] || return 0 - install-info -- "${infodir}/${file}" "${infodir}/dir" 2> /dev/null -} - -post_upgrade() { - post_install "$1" -} - -pre_remove() { - [[ -x "usr/bin/install-info" ]] || return 0 - install-info --delete -- "${infodir}/${file}" "${infodir}/dir" 2> /dev/null -} - |