add .gitignore & manpage

This commit is contained in:
vincent 2021-01-12 20:17:03 +01:00
parent 4e82fdf935
commit dc28c23d50
2 changed files with 9 additions and 1 deletions

5
.gitignore vendored Normal file
View File

@ -0,0 +1,5 @@
*.tar.*
pkg
src
beets

View File

@ -53,7 +53,7 @@ pkgver() {
build() {
cd ${srcdir}/beets
python setup.py build
python setup.py build sdist
}
package() {
@ -62,4 +62,7 @@ package() {
install -dm 755 "${pkgdir}"/usr/share/zsh/site-functions
install -m 644 extra/_beet "${pkgdir}"/usr/share/zsh/site-functions/
install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
install -dm 755 "${pkgdir}"/usr/share/man/man{1,5}
install -m 644 man/beet.1 "${pkgdir}"/usr/share/man/man1/
install -m 644 man/beetsconfig.5 "${pkgdir}"/usr/share/man/man5/
}