system-helpers/_pkg/PKGBUILD
Alexander Schäferdiek 25659467cc
All checks were successful
continuous-integration/drone/push Build is passing
Rename to system-helpers
2022-09-17 20:28:53 +02:00

22 lines
584 B
Bash

pkgname=system-helpers-git
_pkgname="system-helpers"
pkgver=r83.7338248
pkgrel=1
pkgdesc="Common system helper scripts"
arch=('any')
url="https://git.myservermanager.com/alexander.schaeferdiek/system-helpers"
makedepends=('git')
license=('GPL')
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"
}