From 968f6e959b5cf375dafdf4958940142bd023f457 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Thu, 23 Jun 2016 19:45:44 +0200 Subject: 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 | 6 ------ dist/archlinux/stable/PKGBUILD | 27 --------------------------- dist/archlinux/stable/solar-python.install | 20 -------------------- 3 files changed, 53 deletions(-) delete mode 100644 dist/archlinux/stable/.gitignore delete mode 100644 dist/archlinux/stable/PKGBUILD delete mode 100644 dist/archlinux/stable/solar-python.install (limited to 'dist/archlinux/stable') diff --git a/dist/archlinux/stable/.gitignore b/dist/archlinux/stable/.gitignore deleted file mode 100644 index 13fdeb3..0000000 --- a/dist/archlinux/stable/.gitignore +++ /dev/null @@ -1,6 +0,0 @@ -* -!/.git* -*~ -!/PKGBUILD -!/solar-python.install - diff --git a/dist/archlinux/stable/PKGBUILD b/dist/archlinux/stable/PKGBUILD deleted file mode 100644 index c73d8f8..0000000 --- a/dist/archlinux/stable/PKGBUILD +++ /dev/null @@ -1,27 +0,0 @@ -# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org> - -pkgname=solar-python -pkgver=2.3 -pkgrel=1 -pkgdesc="Solar data calculation and prediction library for Python" -arch=(any) -url="https://github.com/maandree/solar-python" -license=('AGPL3') -depends=(python3) -makedepends=(make coreutils python3 texinfo) -install=solar-python.install -source=($url/archive/$pkgver.tar.gz) -sha256sums=(85571fc096f21ee4b6ba0f2ffc94e2659625c602f5342c8508040a2cd5ac2704) - - -build() { - cd "$srcdir/$pkgname-$pkgver" - make PREFIX=/usr PY_MAJOR="$(python -V | cut -d ' ' -f 2 | cut -d . -f 1)" PY_MINOR="$(python -V | cut -d ' ' -f 2 | cut -d . -f 2)" -} - - -package() { - cd "$srcdir/$pkgname-$pkgver" - make PREFIX=/usr PY_MAJOR="$(python -V | cut -d ' ' -f 2 | cut -d . -f 1)" PY_MINOR="$(python -V | cut -d ' ' -f 2 | cut -d . -f 2)" install DESTDIR="$pkgdir" -} - diff --git a/dist/archlinux/stable/solar-python.install b/dist/archlinux/stable/solar-python.install deleted file mode 100644 index 0227091..0000000 --- a/dist/archlinux/stable/solar-python.install +++ /dev/null @@ -1,20 +0,0 @@ -_file="solar-python" - -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