Fix broken Arch Linux build

This commit is contained in:
Eric Torres 2021-12-29 22:51:13 -08:00
parent a9f12a1f1d
commit fe3579c5f4

View File

@ -5,22 +5,17 @@ pkgrel=0
pkgdesc="Various scripts for performing file-related operations such as editing and deleting." pkgdesc="Various scripts for performing file-related operations such as editing and deleting."
arch=(any) arch=(any)
license=(GPL3) license=(GPL3)
depends=(fd fzf mlocate python) depends=(fd fzf mlocate 'python>=3.7' python-termcolor)
makedepends=(git) makedepends=(python-hypothesis python-pytest python-setuptools python-sphinx)
source=("${pkgname}::git+file:///home/etorres/Projects/file-scripts") source=("${pkgname}-${pkgver}.tar.gz")
sha256sums=('SKIP') sha256sums=('85ee18f00451c5bcaae18f23600afbbd621514c8fe0b8250c8191698c396c992')
sha512sums=('SKIP') sha512sums=('f5fd0244fef5800f3ae8b34633b412b451cb014eab3206f9f003c1e12d13b034f59c45646a519a9bb2f9342b406714831cdf87cf5656ff2c3605ed4f0fc57ff2')
pkgver() {
cd "$srcdir/${pkgname}"
printf "%s" "$(git describe --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g')"
}
package() { package() {
cd "${srcdir}/${pkgname}" cd "${srcdir}/${pkgname}-${pkgver}"
python setup.py build python setup.py build
python setup.py --root="$pkgdir" install python setup.py install --root="$pkgdir/" --optimize=1
## Install zsh completions ## Install zsh completions
#for completion in zsh; do #for completion in zsh; do