From ad600c54b527ca163ecc441b36f1446d1704fe0b Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Mon, 13 Feb 2017 08:47:56 +0100 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/PKGBUILD | 31 ---------------------- dist/archlinux/stable/general-preprocessor.install | 20 -------------- 2 files changed, 51 deletions(-) delete mode 100644 dist/archlinux/stable/PKGBUILD delete mode 100644 dist/archlinux/stable/general-preprocessor.install (limited to 'dist') diff --git a/dist/archlinux/stable/PKGBUILD b/dist/archlinux/stable/PKGBUILD deleted file mode 100644 index 4b7d290..0000000 --- a/dist/archlinux/stable/PKGBUILD +++ /dev/null @@ -1,31 +0,0 @@ -# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org> - -pkgname=general-preprocessor -pkgver=1.5 -pkgrel=1 -pkgdesc="Bash-based preprocessor for anything" -url="https://github.com/maandree/gpp" -arch=(any) -license=(GPL3) -depends=(python bash) -makedepends=(make coreutils python texinfo auto-auto-complete) -install=general-preprocessor.install -source=("${url}/archive/${pkgver}.tar.gz") -sha256sums=(884cdebf9f1c841a57bf9ff59342d8a7dbce95f901eef435bd9b471bce176bc1) - -_prefix=/usr -_command=gpp ## change this if you have a package conflicting package - - -build() { - cd "${srcdir}/gpp-${pkgver}" - make PREFIX="${_prefix}" PKGNAME="${pkgname}" COMMAND="${_command}" DESTDIR="${pkgdir}" PY=python3 -} - -package() { - cd "${srcdir}/gpp-${pkgver}" - make PREFIX="${_prefix}" PKGNAME="${pkgname}" COMMAND="${_command}" DESTDIR="${pkgdir}" PY=python3 install - _dir="${pkgdir}${_prefix}/share/licenses/${pkgname}" - ln -sf -- "/usr/share/licenses/common/GPL3" "${_dir}/LICENSE" -} - diff --git a/dist/archlinux/stable/general-preprocessor.install b/dist/archlinux/stable/general-preprocessor.install deleted file mode 100644 index 3f68be9..0000000 --- a/dist/archlinux/stable/general-preprocessor.install +++ /dev/null @@ -1,20 +0,0 @@ -_file="general-preprocessor" - -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