aboutsummaryrefslogtreecommitdiffstats
path: root/dist/archlinux/stable
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2016-06-24 14:29:22 +0200
committerMattias Andrée <maandree@kth.se>2016-06-24 14:29:22 +0200
commitb662ab986c5ad6f8fd4a7c690541e8f43257ba75 (patch)
tree447414a4a62d4c3bdcd53c74900b70a29bd7aaef /dist/archlinux/stable
parentupdate dist (diff)
downloadargparser-b662ab986c5ad6f8fd4a7c690541e8f43257ba75.tar.gz
argparser-b662ab986c5ad6f8fd4a7c690541e8f43257ba75.tar.bz2
argparser-b662ab986c5ad6f8fd4a7c690541e8f43257ba75.tar.xz
Add remove dist
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'dist/archlinux/stable')
-rw-r--r--dist/archlinux/stable/.gitignore3
-rw-r--r--dist/archlinux/stable/PKGBUILD25
-rw-r--r--dist/archlinux/stable/argparser.install20
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
-}
-