system-helpers/_pkg/PKGBUILD

23 lines
584 B
Text
Raw Normal View History

2022-09-17 18:28:53 +00:00
pkgname=system-helpers-git
_pkgname="system-helpers"
pkgver=r83.7338248
pkgrel=1
pkgdesc="Common system helper scripts"
arch=('any')
2022-09-17 18:28:53 +00:00
url="https://git.myservermanager.com/alexander.schaeferdiek/system-helpers"
makedepends=('git')
license=('GPL')
2022-09-17 18:28:53 +00:00
source=("${pkgname}::git+https://git.myservermanager.com/alexander.schaeferdiek/system-helpers.git")
sha256sums=('SKIP')
pkgver() {
cd ${pkgname}
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd "${srcdir}/${pkgname}"
cp -r etc/ "${pkgdir}/etc"
cp -r usr/ "${pkgdir}/usr"
}