diff options
Diffstat (limited to 'dist/archlinux')
-rw-r--r-- | dist/archlinux/stable/.gitignore | 5 | ||||
-rw-r--r-- | dist/archlinux/stable/PKGBUILD | 30 | ||||
-rw-r--r-- | dist/archlinux/stable/bfind.install | 20 |
3 files changed, 0 insertions, 55 deletions
diff --git a/dist/archlinux/stable/.gitignore b/dist/archlinux/stable/.gitignore deleted file mode 100644 index 8b2689a..0000000 --- a/dist/archlinux/stable/.gitignore +++ /dev/null @@ -1,5 +0,0 @@ -* -!.git* -!PKGBUILD -!bfind.install - diff --git a/dist/archlinux/stable/PKGBUILD b/dist/archlinux/stable/PKGBUILD deleted file mode 100644 index bd2ab96..0000000 --- a/dist/archlinux/stable/PKGBUILD +++ /dev/null @@ -1,30 +0,0 @@ -# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org> - -pkgname=bfind -pkgver=2.1.1 -pkgrel=1 -pkgdesc="find alternative optimised for finding files rather then listing files" -url="https://github.com/maandree/bfind" -arch=(any) -license=(GPL3) -depends=(python3) -makedepends=(make coreutils sed texinfo gzip auto-auto-complete) -install=bfind.install -source=("${url}/archive/${pkgver}.tar.gz") -sha256sums=(2adf446212950b45c800380273f8f04fc3b2365b3e68ca53ac961966844f4c5e) - -_prefix=/usr - - -build() { - cd "${srcdir}/bfind-${pkgver}" - make PREFIX="${_prefix}" PKGNAME="${pkgname}" DESTDIR="${pkgdir}" -} - -package() { - cd "${srcdir}/bfind-${pkgver}" - make PREFIX="${_prefix}" PKGNAME="${pkgname}" DESTDIR="${pkgdir}" install - _dir="${pkgdir}${_prefix}/share/licenses/${pkgname}" - ln -sf -- "/usr/share/licenses/common/GPL3" "${_dir}/LICENSE" -} - diff --git a/dist/archlinux/stable/bfind.install b/dist/archlinux/stable/bfind.install deleted file mode 100644 index 4f81d3e..0000000 --- a/dist/archlinux/stable/bfind.install +++ /dev/null @@ -1,20 +0,0 @@ -_file="bfind" - -infodir="usr/share/info" -file="${_file}.info.gz" - - -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 -} - |