Fixed errors in PKGBUILD

This commit is contained in:
ayakael 2018-01-04 20:50:48 -09:00
parent 79df96441f
commit 6c6b979936
No known key found for this signature in database
GPG key ID: 575626A4AE5F4026

View file

@ -3,11 +3,11 @@ pkgver=0.1
pkgrel=1
pkgdesc="A collection of bash libraries that I tend to use in my scripts"
arch=(any)
changelog=CHANGELOG
changelog=CHANGELOG.md
license=('GPL3')
depends=()
source=(
"${pkgname}::git+ssh://git@github.com/ayakael/${pkgname}/#branch=master"
"${pkgname}::git+ssh://git@github.com/ayakael/${pkgname}.git#branch=master"
)
sha256sums=(
@ -22,7 +22,7 @@ prepare(){
package() {
# Install the scripts
for libs in $(find ${srcdir}/libs/. -type f); do
install -Dm644 "${srcdir}/libs/${libs}" "${pkgdir}/usr/lib/bash-libs/$(echo ${libs} | sed 's|.sh||')"
for libs in $(find ${srcdir}/bash-libs/libs/. -type f -printf %f); do
install -Dm644 "${srcdir}/bash-libs/libs/${libs}" "${pkgdir}/usr/lib/bash-libs/$(echo ${libs} | sed 's|.sh||')"
done
}