feat(PKGBUILD): First setup
This commit is contained in:
@@ -0,0 +1,28 @@
|
|||||||
|
# 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
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user