1 files changed, 21 insertions(+), 0 deletions(-)
A PKGBUILD
A PKGBUILD => PKGBUILD +21 -0
@@ 0,0 1,21 @@
+# Maintainer: Bill Doyle <vil@vil.lv>
+pkgname=cod
+pkgver=1
+pkgrel=1
+license=('MIT')
+pkgdesc='Compile on demand package manager'
+arch=('any')
+url='https://git.sr.ht/~vilhalmer/cod'
+source=('codinstall' 'codstub')
+sha256sums=('SKIP' 'SKIP') # Oh noooooooo
+provides=('cod')
+
+pkgver() {
+ cd "$srcdir"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+package() {
+ cd "$srcdir"
+ install -Dt "$pkgdir/usr/bin/" -m755 codinstall codstub
+}