diff options
Diffstat (limited to 'dist')
-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 -} - |