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