Update packaging information

This commit is contained in:
Eric Torres
2021-12-20 22:44:22 -08:00
parent 68262b6212
commit 517dd3cbce
3 changed files with 12 additions and 16 deletions

View File

@ -1,6 +1,6 @@
# Maintainer: Eric Torres <erictorres4@protonmail.com>
pkgname=file-scripts
pkgver=0.9.0
pkgver=0.9.1
pkgrel=0
pkgdesc="Various scripts for performing file-related operations such as editing and deleting."
arch=(any)
@ -19,11 +19,8 @@ pkgver() {
package() {
cd "${srcdir}/${pkgname}"
install -dm755 "${pkgdir}"/usr/{bin,share/zsh/{plugins/helper-scripts,site-functions}}
for script in *.{py,sh}; do
install -m755 "${script}" "${pkgdir}/usr/bin/${script%.*}"
done
python setup.py build
python setup.py --root="$pkgdir" install
## Install /etc/config files
#install -dm755 "${pkgdir}/etc/helper-scripts"
@ -41,3 +38,7 @@ package() {
# install -m644 "${plugin}" "${pkgdir}/usr/share/zsh/plugins/helper-scripts/${plugin##*/}"
#done
}
check() {
pytest
}