Updated PKGBUILD to reflect name and build changes
This commit is contained in:
parent
ba9c68eb70
commit
10172b0f21
2 changed files with 14 additions and 9 deletions
|
@ -1,2 +1,5 @@
|
|||
### v0.1
|
||||
* Added log library
|
||||
* Added if library
|
||||
* Added msg library
|
||||
* Added ansi library
|
||||
* Added cfg library
|
||||
|
|
18
PKGBUILD
18
PKGBUILD
|
@ -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"
|
||||
}
|
||||
|
|
Reference in a new issue