29 lines
661 B
Bash
29 lines
661 B
Bash
# Maintainer: Janis Hutz <development@janishutz.com>
|
|
|
|
pkgname=archmgr-git
|
|
pkgver=0.0.0
|
|
pkgrel=1
|
|
pkgdesc='A nixos-like declarative config and package manager for Arch Linux'
|
|
arch=('any')
|
|
url="https://github.com/janishutz/archmgr"
|
|
license=('GPL3')
|
|
depends=('python', 'python-pyaml')
|
|
makedepends=('git')
|
|
provides=('archmgr')
|
|
conflicts=('archmgr')
|
|
source=("$pkgname"::git+${url}.git)
|
|
sha256sums=('SKIP') # TODO: Add?
|
|
|
|
pkgver() {
|
|
cd "${pkgname}"
|
|
|
|
# TODO: For the non-git pkgbuild, need to use different output
|
|
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
|
}
|
|
|
|
package() {
|
|
cd "${pkgname}"
|
|
|
|
# TODO: Need to finish
|
|
}
|