From b662ab986c5ad6f8fd4a7c690541e8f43257ba75 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 24 Jun 2016 14:29:22 +0200 Subject: Add remove dist MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- dist/archlinux/stable/.gitignore | 3 --- dist/archlinux/stable/PKGBUILD | 25 ------------------------- dist/archlinux/stable/argparser.install | 20 -------------------- 3 files changed, 48 deletions(-) delete mode 100644 dist/archlinux/stable/.gitignore delete mode 100644 dist/archlinux/stable/PKGBUILD delete mode 100644 dist/archlinux/stable/argparser.install 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 -} - -- cgit v1.2.3-70-g09d2