This repository has been archived on 2024-08-13. You can view files and clone it, but cannot push or open issues or pull requests.
bunc/PKGBUILD

30 lines
595 B
Text
Raw Normal View History

2018-01-05 05:39:27 +00:00
pkgname=bash-libs
pkgver=0.1
pkgrel=1
pkgdesc="A collection of bash libraries that I tend to use in my scripts"
arch=(any)
2018-01-05 05:50:48 +00:00
changelog=CHANGELOG.md
license=('GPLv3')
2018-01-05 05:39:27 +00:00
depends=()
makedepends=('git')
2018-01-05 05:39:27 +00:00
source=(
"${pkgname}::git+https://github.com/ayakael/${pkgname}.git"
2018-01-05 05:39:27 +00:00
)
sha256sums=(
"SKIP"
)
prepare(){
cd ${srcdir}/${pkgname}
git checkout ${pkgver}
}
package() {
# Install the scripts
2018-01-05 05:50:48 +00:00
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||')"
2018-01-05 05:39:27 +00:00
done
}