diff options
Diffstat (limited to '')
-rw-r--r-- | .gitignore | 3 | ||||
-rw-r--r-- | dist/archlinux/stable/PKGBUILD | 31 | ||||
-rw-r--r-- | dist/archlinux/stable/general-preprocessor.install | 20 |
3 files changed, 0 insertions, 54 deletions
@@ -2,9 +2,6 @@ _/ /bin/ /obj/ __pycache__/ -/dist/*/*/* -!/dist/*/*/PKGBUILD -!/dist/*/*/*.install .* !.git* \#*\# 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 -} - |