Initial commit
This commit is contained in:
commit
deddc15635
1 changed files with 28 additions and 0 deletions
28
PKGBUILD
Normal file
28
PKGBUILD
Normal file
|
@ -0,0 +1,28 @@
|
|||
pkgname=bash-libs
|
||||
pkgver=0.1
|
||||
pkgrel=1
|
||||
pkgdesc="A collection of bash libraries that I tend to use in my scripts"
|
||||
arch=(any)
|
||||
changelog=CHANGELOG
|
||||
license=('GPL3')
|
||||
depends=()
|
||||
source=(
|
||||
"${pkgname}::git+ssh://git@github.com/ayakael/${pkgname}/#branch=master"
|
||||
)
|
||||
|
||||
sha256sums=(
|
||||
"SKIP"
|
||||
)
|
||||
|
||||
prepare(){
|
||||
cd ${srcdir}/${pkgname}
|
||||
git checkout ${pkgver}
|
||||
}
|
||||
|
||||
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||')"
|
||||
done
|
||||
}
|
Reference in a new issue