Updated PKGBUILD to reflect name and build changes

This commit is contained in:
ayakael 2018-01-11 14:43:41 -09:00
parent ba9c68eb70
commit 10172b0f21
No known key found for this signature in database
GPG key ID: 575626A4AE5F4026
2 changed files with 14 additions and 9 deletions

View file

@ -1,2 +1,5 @@
### v0.1
* Added log library
* Added if library
* Added msg library
* Added ansi library
* Added cfg library

View file

@ -1,7 +1,7 @@
pkgname=bash-libs
pkgname=bunc
pkgver=0.1
pkgrel=1
pkgdesc="A collection of bash libraries that I tend to use in my scripts"
pkgdesc="A functional bash library"
arch=(any)
changelog=CHANGELOG.md
license=('GPLv3')
@ -20,10 +20,12 @@ prepare(){
git checkout ${pkgver}
}
package() {
# Install the scripts
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
build(){
cd ${srcdir}/bunc
bash ./build
}
package() {
# Install the library
install -Dm644 "${srcdir}/bunc/bunc /usr/lib/bash/bunc"
}