aboutsummaryrefslogtreecommitdiffstats
path: root/dist/archlinux
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-02-23 01:11:51 +0100
committerMattias Andrée <maandree@kth.se>2021-02-23 01:12:15 +0100
commit33d0ee66d80d664aec3511b1827049e538642658 (patch)
treefa3e0ae6a88ff139bb37923d348562b9d851420c /dist/archlinux
parentupdate dist (diff)
downloadmedian-33d0ee66d80d664aec3511b1827049e538642658.tar.gz
median-33d0ee66d80d664aec3511b1827049e538642658.tar.bz2
median-33d0ee66d80d664aec3511b1827049e538642658.tar.xz
Change license, rewrite in C, remove info manual, remove dist2.0
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--dist/archlinux/stable/.gitignore6
-rw-r--r--dist/archlinux/stable/PKGBUILD27
-rw-r--r--dist/archlinux/stable/median.install20
3 files changed, 0 insertions, 53 deletions
diff --git a/dist/archlinux/stable/.gitignore b/dist/archlinux/stable/.gitignore
deleted file mode 100644
index dcaac12..0000000
--- a/dist/archlinux/stable/.gitignore
+++ /dev/null
@@ -1,6 +0,0 @@
-*
-!/.git*
-*~
-!/PKGBUILD
-!/median.install
-
diff --git a/dist/archlinux/stable/PKGBUILD b/dist/archlinux/stable/PKGBUILD
deleted file mode 100644
index 959abf6..0000000
--- a/dist/archlinux/stable/PKGBUILD
+++ /dev/null
@@ -1,27 +0,0 @@
-# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org>
-
-pkgname=median
-pkgver=1.2
-pkgrel=1
-pkgdesc="Calculate the median values for a set of groups"
-arch=(any)
-url="https://github.com/maandree/median"
-license=(GPL3)
-depends=(python3)
-makedepends=(make coreutils texinfo)
-install=$pkgname.install
-source=($url/archive/$pkgver.tar.gz)
-sha256sums=(e988111e206ecfb7fae08218997f919179d25be6a88d9c8cbbc1388bb6e665d9)
-
-
-build() {
- cd "$srcdir/$pkgname-$pkgver"
- make PREFIX=/usr
-}
-
-
-package() {
- cd "$srcdir/$pkgname-$pkgver"
- make PREFIX=/usr install DESTDIR="$pkgdir"
-}
-
diff --git a/dist/archlinux/stable/median.install b/dist/archlinux/stable/median.install
deleted file mode 100644
index e5eade9..0000000
--- a/dist/archlinux/stable/median.install
+++ /dev/null
@@ -1,20 +0,0 @@
-_file="median"
-
-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
-}
-