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

32 lines
468 B
Bash
Raw Permalink Normal View History

pkgname=bunc
2018-01-05 05:39:27 +00:00
pkgver=0.1
pkgrel=1
pkgdesc="A functional bash library"
2018-01-05 05:39:27 +00:00
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}
}
build(){
cd ${srcdir}/bunc
./build.sh
}
2018-01-05 05:39:27 +00:00
package() {
# Install the library
install -Dm644 "${srcdir}/bunc/bunc" "${pkgdir}/usr/lib/bash/bunc"
2018-01-05 05:39:27 +00:00
}