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 ### 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 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"
} }