diff options
author | Mattias Andrée <maandree@kth.se> | 2021-02-23 01:11:51 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2021-02-23 01:12:15 +0100 |
commit | 33d0ee66d80d664aec3511b1827049e538642658 (patch) | |
tree | fa3e0ae6a88ff139bb37923d348562b9d851420c /dist/archlinux | |
parent | update dist (diff) | |
download | median-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 'dist/archlinux')
-rw-r--r-- | dist/archlinux/stable/.gitignore | 6 | ||||
-rw-r--r-- | dist/archlinux/stable/PKGBUILD | 27 | ||||
-rw-r--r-- | dist/archlinux/stable/median.install | 20 |
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 -} - |